From cd3aef47a5c362dda1014172e5d3fc1e16e0b0ba Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 4 Nov 2018 10:30:46 -0800 Subject: [PATCH] that already does that --- src/main/java/baritone/utils/ExampleBaritoneControl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/baritone/utils/ExampleBaritoneControl.java b/src/main/java/baritone/utils/ExampleBaritoneControl.java index 90648245..d7c1cf89 100644 --- a/src/main/java/baritone/utils/ExampleBaritoneControl.java +++ b/src/main/java/baritone/utils/ExampleBaritoneControl.java @@ -227,15 +227,11 @@ public class ExampleBaritoneControl extends Behavior implements Helper { return true; } if (msg.equals("cancel") || msg.equals("stop")) { - baritone.getMineProcess().cancel(); - baritone.getFollowProcess().cancel(); pathingBehavior.cancelEverything(); logDirect("ok canceled"); return true; } if (msg.equals("forcecancel")) { - baritone.getMineProcess().cancel(); - baritone.getFollowProcess().cancel(); pathingBehavior.cancelEverything(); AbstractNodeCostSearch.forceCancel(); pathingBehavior.forceCancel();