fix
This commit is contained in:
parent
4d0bfce712
commit
2da3222115
@ -87,6 +87,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
|
|||||||
dispatchEvents();
|
dispatchEvents();
|
||||||
if (event.getType() == TickEvent.Type.OUT) {
|
if (event.getType() == TickEvent.Type.OUT) {
|
||||||
secretInternalSegmentCancel();
|
secretInternalSegmentCancel();
|
||||||
|
baritone.getPathingControlManager().cancelEverything();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
tickPath();
|
tickPath();
|
||||||
|
@ -82,7 +82,7 @@ public class CustomGoalProcess extends BaritoneProcessHelper implements ICustomG
|
|||||||
if (calcFailed) {
|
if (calcFailed) {
|
||||||
onLostControl();
|
onLostControl();
|
||||||
}
|
}
|
||||||
if (goal.isInGoal(playerFeet())) {
|
if (goal == null || goal.isInGoal(playerFeet())) {
|
||||||
onLostControl(); // we're there xd
|
onLostControl(); // we're there xd
|
||||||
}
|
}
|
||||||
return new PathingCommand(goal, PathingCommandType.SET_GOAL_AND_PATH);
|
return new PathingCommand(goal, PathingCommandType.SET_GOAL_AND_PATH);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user