mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-12-24 18:17:39 +01:00
Class chests can now be trapped chests.
This commit is contained in:
parent
0ea5c7a313
commit
092a986887
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user