diff --git a/src/main/java/baritone/utils/ExampleBaritoneControl.java b/src/main/java/baritone/utils/ExampleBaritoneControl.java index 0f03c28f..69c8e214 100644 --- a/src/main/java/baritone/utils/ExampleBaritoneControl.java +++ b/src/main/java/baritone/utils/ExampleBaritoneControl.java @@ -72,7 +72,9 @@ public class ExampleBaritoneControl extends Behavior implements Helper { } msg = msg.substring(1); } - runCommand(msg); + if (runCommand(msg)) { + event.cancel(); + } } public boolean runCommand(String msg) {