Updated CraftBukkit to 1.2

This commit is contained in:
Nathan Adams committed 2012-03-01 14:38:31 +00:00
1 parent e9ca87000c
commit 543c4879fe
143 files changed
+3710 -4433

No files matched your search

@@ -73,6 +73,17 @@ public class ContainerEnchantTableSubcontainer implements IInventory {
}
}
public ItemStack splitWithoutUpdate(int i) {
if (this.items[i] != null) {
ItemStack itemstack = this.items[i];
this.items[i] = null;
return itemstack;
} else {
return null;
}
}
public void setItem(int i, ItemStack itemstack) {
this.items[i] = itemstack;
if (itemstack != null && itemstack.count > this.getMaxStackSize()) {