From 04036b6e4afe1e3eb59cd861a871e17ea5680f5f Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 27 Dec 2024 10:33:31 +0000 Subject: implement BlockState::outline_shape --- azalea/src/pathfinder/world.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea') 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)] -- cgit v1.2.3