diff options
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/src/pathfinder/world.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index b77183e8..3ec95136 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -551,6 +551,16 @@ pub fn is_block_state_passable(block: BlockState) -> bool { return false; } + if registry_block == azalea_registry::Block::PowderSnow { + // we can't jump out of powder snow + return false; + } + + if registry_block == azalea_registry::Block::SweetBerryBush { + // these hurt us + return false; + } + true } |
