you can walk on chests
This commit is contained in:
parent
76cdad2223
commit
8d46c36269
@ -195,6 +195,9 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
if (Blocks.FARMLAND.equals(block) || Blocks.GRASS_PATH.equals(block)) {
|
if (Blocks.FARMLAND.equals(block) || Blocks.GRASS_PATH.equals(block)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (Blocks.ENDER_CHEST.equals(block) || Blocks.CHEST.equals(block)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (block instanceof BlockAir) {
|
if (block instanceof BlockAir) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user