aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-06 14:20:57 -1300
committermat <git@matdoes.dev>2025-05-06 14:20:57 -1300
commite9452032bfc95cb7ad4a8798b13648e164536cf1 (patch)
treed62694761560085d979886d0822b8dfd942d3db2 /azalea/src/pathfinder
parentd58a1c4fa0bd0c695e670ec52874f11cce64cd01 (diff)
downloadazalea-drasl-e9452032bfc95cb7ad4a8798b13648e164536cf1.tar.xz
fix various issues with mining
Diffstat (limited to 'azalea/src/pathfinder')
-rw-r--r--azalea/src/pathfinder/moves/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs
index 248f0a5c..24dc8ac1 100644
--- a/azalea/src/pathfinder/moves/mod.rs
+++ b/azalea/src/pathfinder/moves/mod.rs
@@ -166,6 +166,7 @@ impl ExecuteCtx<'_, '_, '_, '_, '_, '_, '_> {
if self.should_mine(block) {
if at_start_position {
+ self.look_at(block.center());
self.mine(block);
} else {
self.look_at(self.start.center());