mirror of
https://github.com/cabaletta/baritone
synced 2024-12-19 13:40:42 +00:00
cancel chat event
This commit is contained in:
parent
0cd9bb658f
commit
46a24af373
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user