Renamed ItemStack.set/getDamage to durability, which is now a short

This commit is contained in:
Dinnerbone
2011-01-31 01:07:38 +00:00
parent 0dd9e4873d
commit c75e53935f
3 changed files with 11 additions and 11 deletions

View File

@@ -125,7 +125,7 @@ public class CraftWorld implements World {
net.minecraft.server.ItemStack stack = new net.minecraft.server.ItemStack(
item.getTypeId(),
item.getAmount(),
item.getDamage()
item.getDurability()
);
EntityItem entity = new EntityItem(world, loc.getX(), loc.getY(), loc.getZ(), stack);
entity.c = 10;