Fix issue with inventories resizing

This commit is contained in:
drtshock
2013-10-25 02:48:31 -05:00
parent 79a786a92d
commit 4d60f1b507
@@ -114,6 +114,7 @@ public class Listeners implements Listener {
Block block = event.getClickedBlock(); Block block = event.getClickedBlock();
// Different inventories that we don't want the player to open. // Different inventories that we don't want the player to open.
if (block.getType() == Material.CHEST if (block.getType() == Material.CHEST
|| block.getType() == Material.TRAPPED_CHEST
|| block.getType() == Material.ENDER_CHEST || block.getType() == Material.ENDER_CHEST
|| block.getType() == Material.FURNACE || block.getType() == Material.FURNACE
|| block.getType() == Material.BURNING_FURNACE || block.getType() == Material.BURNING_FURNACE