Merge pull request #3243 from wagyourtail/master

fix getting stuck on cauldrons (fixes #3099)
This commit is contained in:
Leijurv 2022-02-02 21:10:47 -08:00 committed by GitHub
commit 694219e497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -134,7 +134,9 @@ public interface MovementHelper extends ActionCosts, Helper {
}
return block == Blocks.WATER || block == Blocks.FLOWING_WATER;
}
if (block instanceof BlockCauldron) {
return false;
}
return block.isPassable(bsi.access, bsi.isPassableBlockPos.setPos(x, y, z));
}