home should path, not just set goal

This commit is contained in:
Leijurv 2018-09-19 20:30:17 -07:00
parent d4f1a127d7
commit 28a8e7ea63
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
} else { } else {
Goal goal = new GoalBlock(waypoint.location); Goal goal = new GoalBlock(waypoint.location);
PathingBehavior.INSTANCE.setGoal(goal); PathingBehavior.INSTANCE.setGoal(goal);
logDirect("Set goal to saved home " + goal); PathingBehavior.INSTANCE.path();
logDirect("Going to saved home " + goal);
} }
event.cancel(); event.cancel();
return; return;