fix: the commit before this: commandspy
This commit is contained in:
parent
e51bd0b1e5
commit
a44cae4d3e
1 changed files with 2 additions and 4 deletions
|
@ -92,10 +92,8 @@ public class ChatCommandHandlerPlugin extends ChatPlugin.Listener {
|
|||
|
||||
final PlayerCommandContext context = new PlayerCommandContext(bot, displayName, prefix, selector, sender);
|
||||
|
||||
bot.executorService.submit(() -> {
|
||||
final Component output = bot.commandHandler.executeCommand(commandString, context, null);
|
||||
final Component output = bot.commandHandler.executeCommand(commandString, context, null);
|
||||
|
||||
if (output != null) context.sendOutput(output);
|
||||
});
|
||||
if (output != null) context.sendOutput(output);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue