home should path, not just set goal
This commit is contained in:
parent
d4f1a127d7
commit
28a8e7ea63
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user