mirror of
https://github.com/cabaletta/baritone
synced 2024-12-27 09:22:20 +00:00
fix path not derendering once finished
This commit is contained in:
parent
1745ce6a62
commit
9b375e1f5f
@ -73,7 +73,10 @@ public class PathExecutor implements Helper {
|
||||
if (event.getType() == TickEvent.Type.OUT) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
if (pathPosition >= path.length() - 1) {
|
||||
if (pathPosition == path.length() - 1) {
|
||||
pathPosition++;
|
||||
}
|
||||
if (pathPosition >= path.length()) {
|
||||
return true; // stop bugging me, I'm done
|
||||
}
|
||||
BetterBlockPos whereShouldIBe = path.positions().get(pathPosition);
|
||||
|
Loading…
Reference in New Issue
Block a user