From 297fbd8bb9f105bfaa41fb5f0c317fba785757f3 Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 31 Jan 2011 01:26:48 -0800 Subject: [PATCH] Updated for Bukkit commit 8ccfad945663cd0ea60531b085748c81fc6fefb8. --- src/com/sk89q/worldedit/bukkit/BukkitWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/com/sk89q/worldedit/bukkit/BukkitWorld.java index 352c3d7b2..3672facc8 100644 --- a/src/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -415,7 +415,7 @@ public class BukkitWorld extends LocalWorld { contents[i] = new BaseItemStack( bukkitStack.getTypeId(), bukkitStack.getAmount(), - (byte)bukkitStack.getDamage()); + bukkitStack.getDurability()); } }