Add support method for Bukkit
This commit is contained in:
parent
44387c0324
commit
ac32f200fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue