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

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