disabled hoppers

This commit is contained in:
Cheese 2015-06-26 17:46:05 +10:00
parent 17af562f19
commit 1564a8bc51
1 changed files with 2 additions and 1 deletions

View File

@ -809,7 +809,8 @@ public class SkyWars extends SoloGame
{
_worldBlocks.add(e.getBlock());
if (e.getBlock().getType() == Material.CHEST)
if (e.getBlock().getType() == Material.CHEST ||
e.getBlock().getType() == Material.HOPPER)
{
e.setCancelled(true);
}