diff options
Diffstat (limited to 'azalea/src/pathfinder/debug.rs')
| -rw-r--r-- | azalea/src/pathfinder/debug.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs index 7fe44919..42a64982 100644 --- a/azalea/src/pathfinder/debug.rs +++ b/azalea/src/pathfinder/debug.rs @@ -74,7 +74,8 @@ pub fn debug_render_path_with_particles( // this isn't foolproof, there might be another block that could be mined // depending on the move, but it's good enough for debugging // purposes - let is_mining = !super::world::is_block_state_passable(target_block_state) + let is_mining = !(super::world::is_block_state_passable(target_block_state) + || super::world::is_block_state_water(target_block_state)) || !super::world::is_block_state_passable(above_target_block_state); let (r, g, b): (f64, f64, f64) = if i == 0 { |
