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