mirror of
https://github.com/JonasunderscoreJones/BetterConsoleMC.git
synced 2025-10-24 14:19:19 +02:00
fixed player not getting command feedback
This commit is contained in:
parent
bdb60f3ebe
commit
d7f982af05
1 changed files with 1 additions and 4 deletions
|
|
@ -36,10 +36,7 @@ public class GameCommandHandler {
|
|||
}
|
||||
|
||||
public static Text runCommand(CommandPreRegistry commandPreRegistry, CommandContext<ServerCommandSource> context) {
|
||||
new Thread(() -> {
|
||||
ShellCommand.execute(commandPreRegistry, context);
|
||||
}).start();
|
||||
return Text.of("Return");
|
||||
return Text.of(ShellCommand.execute(commandPreRegistry, context));
|
||||
}
|
||||
|
||||
public static void returnCommandOutput(String cmd, String commandFeedback, CommandContext<ServerCommandSource> context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue