1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-19 13:40:42 +00:00

cancel chat event

This commit is contained in:
Leijurv 2018-10-16 11:13:08 -07:00
parent 0cd9bb658f
commit 46a24af373
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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) {