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