diff --git a/src/main/java/baritone/utils/ExampleBaritoneControl.java b/src/main/java/baritone/utils/ExampleBaritoneControl.java index fbd801f3..063c939c 100644 --- a/src/main/java/baritone/utils/ExampleBaritoneControl.java +++ b/src/main/java/baritone/utils/ExampleBaritoneControl.java @@ -55,9 +55,10 @@ public class ExampleBaritoneControl extends Behavior { return; } String msg = event.getMessage(); - if (msg.startsWith("/")) { - msg = msg.substring(1); - } + if (!msg.startsWith("#")) + return; + + msg = msg.substring(1); if (msg.toLowerCase().startsWith("goal")) { event.cancel(); String[] params = msg.toLowerCase().substring(4).trim().split(" ");