Class chests can now be trapped chests.

This commit is contained in:
Andreas Troelsen committed 2013-04-04 17:36:42 +02:00
1 parent 0ea5c7a313
commit 092a986887
1 file changed
+1 -1
@@ -892,7 +892,7 @@ public class ArenaListener
private Block findChestBelow(Block b, int left) {
if (left < 0) return null;
if (b.getType() == Material.CHEST) {
if (b.getType() == Material.CHEST || b.getType() == Material.TRAPPED_CHEST) {
return b;
}
return findChestBelow(b.getRelative(BlockFace.DOWN), left - 1);