more robust path destination verification

This commit is contained in:
Leijurv
2018-09-14 09:21:52 -07:00
parent a38da64c49
commit 001070d406
9 changed files with 71 additions and 14 deletions

View File

@@ -120,9 +120,9 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
return;
}
if (msg.toLowerCase().equals("cancel")) {
PathingBehavior.INSTANCE.cancel();
FollowBehavior.INSTANCE.cancel();
MineBehavior.INSTANCE.cancel();
FollowBehavior.INSTANCE.cancel();
PathingBehavior.INSTANCE.cancel();
event.cancel();
logDirect("ok canceled");
return;