inventory fixes

This commit is contained in:
Tahg
2011-02-08 19:37:53 -05:00
parent b76bc9cfb3
commit 61b79e8f98
6 changed files with 15 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ package net.minecraft.server;
public class TileEntityChest extends TileEntity implements IInventory {
private ItemStack[] e = new ItemStack[36];
private ItemStack[] e = new ItemStack[27]; //Craftbukkit
// CraftBukkit start
public ItemStack[] getContents() {
@@ -13,7 +13,7 @@ public class TileEntityChest extends TileEntity implements IInventory {
public TileEntityChest() {}
public int h_() {
return 27;
return this.e.length;
}
public ItemStack a(int i) {