Add support method for Bukkit

This commit is contained in:
Christian Weeks 2012-02-01 12:05:01 -05:00
parent 44387c0324
commit ac32f200fe
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@ public class TileEntityIronChest extends TileEntity implements IInventory {
this.type=type;
this.chestContents=new ItemStack[getSizeInventory()];
}
public ItemStack[] getContents() {
return chestContents;
}
@Override
public int getSizeInventory() {
return type.size;