you can walk on chests

This commit is contained in:
Leijurv 2018-09-01 13:20:27 -07:00
parent 76cdad2223
commit 8d46c36269
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -195,6 +195,9 @@ public interface MovementHelper extends ActionCosts, Helper {
if (Blocks.FARMLAND.equals(block) || Blocks.GRASS_PATH.equals(block)) {
return true;
}
if (Blocks.ENDER_CHEST.equals(block) || Blocks.CHEST.equals(block)) {
return true;
}
if (block instanceof BlockAir) {
return false;
}