aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/goals.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-09-26 09:26:22 -0630
committermat <git@matdoes.dev>2025-09-26 21:56:32 +0600
commit0ec25dc45ec912bd9ef07ed9107f968de55f4a18 (patch)
treedc393947dc6edba57baac65b4ee899f6108fe545 /azalea/src/pathfinder/goals.rs
parentc811dc471a31175d985e2d448a772c628dcad5f6 (diff)
downloadazalea-drasl-0ec25dc45ec912bd9ef07ed9107f968de55f4a18.tar.xz
don't re-export azalea::bot::*, and some doc improvements
Diffstat (limited to 'azalea/src/pathfinder/goals.rs')
-rw-r--r--azalea/src/pathfinder/goals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/goals.rs b/azalea/src/pathfinder/goals.rs
index 7a830973..18ab50c1 100644
--- a/azalea/src/pathfinder/goals.rs
+++ b/azalea/src/pathfinder/goals.rs
@@ -236,7 +236,7 @@ impl Goal for ReachBlockPosGoal {
}
let eye_position = n.center_bottom().up(1.62);
- let look_direction = crate::direction_looking_at(eye_position, self.pos.center());
+ let look_direction = crate::bot::direction_looking_at(eye_position, self.pos.center());
let block_hit_result = azalea_client::interact::pick::pick_block(
look_direction,
eye_position,