Add Beacon block state for hopper events. Fixes BUKKIT-3932

This commit is contained in:
Travis Watkins
2013-03-29 22:26:27 -05:00
parent 377be0a79e
commit ee572114dd
3 changed files with 40 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ public class TileEntityBeacon extends TileEntity implements IInventory {
private int maxStack = MAX_STACK;
public ItemStack[] getContents() {
return null;
return new ItemStack[] { this.h }; // Should be inventorySlot
}
public void onOpen(CraftHumanEntity who) {