Update CraftBukkit to Minecraft 1.5

This commit is contained in:
Travis Watkins
2013-03-13 17:33:27 -05:00
parent ba6e4c38cf
commit 83d29e461c
246 changed files with 8499 additions and 6759 deletions

View File

@@ -85,7 +85,7 @@ public class CraftContainer extends Container {
setupSlots(top, bottom);
}
int size = getSize();
player.getHandle().playerConnection.sendPacket(new Packet100OpenWindow(this.windowId, type, cachedTitle, size));
player.getHandle().playerConnection.sendPacket(new Packet100OpenWindow(this.windowId, type, cachedTitle, size, true));
player.updateInventory();
}
return true;

View File

@@ -108,7 +108,7 @@ public class CraftInventoryCustom extends CraftInventory {
public void update() {}
public boolean a_(EntityHuman entityhuman) {
public boolean a(EntityHuman entityhuman) {
return true;
}
@@ -132,8 +132,6 @@ public class CraftInventoryCustom extends CraftInventory {
return type;
}
public void f() {}
public void g() {}
public InventoryHolder getOwner() {
@@ -141,5 +139,13 @@ public class CraftInventoryCustom extends CraftInventory {
}
public void startOpen() {}
public boolean c() {
return false;
}
public boolean b(int i, ItemStack itemstack) {
return true;
}
}
}