diff options
| author | mat <git@matdoes.dev> | 2024-12-27 10:33:31 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-27 12:35:18 +0000 |
| commit | 04036b6e4afe1e3eb59cd861a871e17ea5680f5f (patch) | |
| tree | 20eedbc21e093fc5e33bc2666ad5b07746b319c8 /azalea | |
| parent | 6ccd44e28d29a33abb32a0d0bed466dce8d61676 (diff) | |
| download | azalea-drasl-04036b6e4afe1e3eb59cd861a871e17ea5680f5f.tar.xz | |
implement BlockState::outline_shape
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/src/pathfinder/world.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index cff0e5e6..f518523f 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -485,7 +485,7 @@ pub fn is_block_state_passable(block: BlockState) -> bool { // fast path return true; } - if !block.is_shape_empty() { + if !block.is_collision_shape_empty() { return false; } let registry_block = azalea_registry::Block::from(block); @@ -523,7 +523,7 @@ pub fn is_block_state_solid(block: BlockState) -> bool { // fast path return false; } - block.is_shape_full() + block.is_collision_shape_full() } #[cfg(test)] |
