Updated CraftBukkit to 1.2

This commit is contained in:
Nathan Adams
2012-03-01 10:49:23 +00:00
parent e9ca87000c
commit 543c4879fe
143 changed files with 3710 additions and 4433 deletions

View File

@@ -77,6 +77,10 @@ public class InventoryLargeChest implements IInventory {
return i >= this.left.getSize() ? this.right.splitStack(i - this.left.getSize(), j) : this.left.splitStack(i, j);
}
public ItemStack splitWithoutUpdate(int i) {
return i >= this.left.getSize() ? this.right.splitWithoutUpdate(i - this.left.getSize()) : this.left.splitWithoutUpdate(i);
}
public void setItem(int i, ItemStack itemstack) {
if (i >= this.left.getSize()) {
this.right.setItem(i - this.left.getSize(), itemstack);