tweak custom goal process logic

This commit is contained in:
Leijurv 2018-12-14 08:30:25 -08:00
parent 35efd9293b
commit d4947c3c47
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,9 @@ public class CustomGoalProcess extends BaritoneProcessHelper implements ICustomG
@Override
public void setGoal(Goal goal) {
this.goal = goal;
this.state = State.GOAL_SET;
if (this.state == State.NONE) {
this.state = State.GOAL_SET;
}
}
@Override