Merge pull request #1340 from fw4hre0xxq/issue-1339-trapchest-pathing

fix #1339
This commit is contained in:
Leijurv 2020-03-02 12:50:35 -08:00 committed by GitHub
commit 217e0da4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,7 @@ public interface MovementHelper extends ActionCosts, Helper {
if (block == Blocks.FARMLAND || block == Blocks.GRASS_PATH) {
return true;
}
if (block == Blocks.ENDER_CHEST || block == Blocks.CHEST) {
if (block == Blocks.ENDER_CHEST || block == Blocks.CHEST || block == Blocks.TRAPPED_CHEST ) {
return true;
}
if (isWater(block)) {