Changed BukkitWorld in hopes that it will fix the error regarding ItemStack.getDamage().

This commit is contained in:
sk89q 2011-01-30 23:43:53 -08:00
parent 2630226052
commit 8a35c3230c

View File

@ -415,7 +415,7 @@ public class BukkitWorld extends LocalWorld {
contents[i] = new BaseItemStack(
bukkitStack.getTypeId(),
bukkitStack.getAmount(),
bukkitStack.getDamage());
(byte)bukkitStack.getDamage());
}
}