diff options
| author | mat <git@matdoes.dev> | 2023-10-01 14:43:51 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-01 14:43:51 -0500 |
| commit | a440c23a3b0f348fc89e504b4ef0ccb1dc3ec93a (patch) | |
| tree | d2f46bfd4013d1626e5bb0028332fea512d3de4b /azalea/src/pathfinder/moves/mod.rs | |
| parent | aee48061cf7ba0db6f3d0bd87b044aeac9490f25 (diff) | |
| download | azalea-drasl-a440c23a3b0f348fc89e504b4ef0ccb1dc3ec93a.tar.xz | |
more reliable pathfinder parkour
Diffstat (limited to 'azalea/src/pathfinder/moves/mod.rs')
| -rw-r--r-- | azalea/src/pathfinder/moves/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs index 61dc8b68..f3ed7dff 100644 --- a/azalea/src/pathfinder/moves/mod.rs +++ b/azalea/src/pathfinder/moves/mod.rs @@ -127,10 +127,7 @@ pub fn default_move(world: &Instance, node: BlockPos) -> Vec<Edge> { #[must_use] pub fn default_is_reached( IsReachedCtx { - position, - target, - // physics, - .. + position, target, .. }: IsReachedCtx, ) -> bool { BlockPos::from(position) == target |
