fix getting stuck on cauldrons (fixes #3099)

This commit is contained in:
Wagyourtail 2022-02-02 22:04:15 -07:00
parent e0a53144db
commit 9b70ace180
No known key found for this signature in database
GPG Key ID: B3A2A4A58244B050
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));
}