cancel chat event

This commit is contained in:
Leijurv committed 2018-10-16 11:13:08 -07:00
1 parent 0cd9bb658f
commit 46a24af373
1 file changed
+3 -1
@@ -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) {