From 8a35c3230c359661df77f7e6064542171061e489 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 30 Jan 2011 23:43:53 -0800 Subject: [PATCH] Changed BukkitWorld in hopes that it will fix the error regarding ItemStack.getDamage(). --- 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 1c71a82c7..f30b1b0dc 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(), - bukkitStack.getDamage()); + (byte)bukkitStack.getDamage()); } }