--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java 2015/03/07 20:43:42 2425 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java 2015/03/07 20:54:11 2426 @@ -2,6 +2,7 @@ import java.util.HashMap; +import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.TreeMap; @@ -82,7 +83,7 @@ } - Block b = player.getTargetBlock(null, 30); + Block b = player.getTargetBlock( (HashSet)null, 30); if (b.getTypeId() != 54 && b.getTypeId() != 154) { player.sendMessage("[Chest] Please look at the chest/hopper you want to protect");