aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-05-16 23:26:45 -0500
committermat <git@matdoes.dev>2023-05-16 23:26:45 -0500
commit2ba7b83490f5fb6e40a4e94da743bebe23cd7862 (patch)
tree730115f764f623069b490f62101c229726da815a /azalea/src/pathfinder
parent0cc76dfb67e852868e30d1c8529826c41a18e9d1 (diff)
downloadazalea-drasl-2ba7b83490f5fb6e40a4e94da743bebe23cd7862.tar.xz
ClientBuilder::new_without_plugins
Diffstat (limited to 'azalea/src/pathfinder')
-rw-r--r--azalea/src/pathfinder/moves.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/moves.rs b/azalea/src/pathfinder/moves.rs
index 6625581d..0dca3c95 100644
--- a/azalea/src/pathfinder/moves.rs
+++ b/azalea/src/pathfinder/moves.rs
@@ -15,7 +15,8 @@ fn is_block_passable(pos: &BlockPos, world: &Instance) -> bool {
/// whether this block has a solid hitbox (i.e. we can stand on it)
fn is_block_solid(pos: &BlockPos, world: &Instance) -> bool {
if let Some(block) = world.chunks.get_block_state(pos) {
- block.shape() == &collision::block_shape()
+ // block.shape() == &collision::block_shape()
+ block.shape() != &collision::empty_shape()
} else {
false
}