mirror of
https://github.com/JonasunderscoreJones/BetterConsoleMC.git
synced 2025-10-24 14:19:19 +02:00
removed debug code and bumped up version number
This commit is contained in:
parent
b2bf3deff5
commit
b6fbf84947
2 changed files with 1 additions and 7 deletions
|
|
@ -9,7 +9,7 @@ org.gradle.parallel=true
|
|||
loader_version=0.14.11
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 0.0.1-alpha
|
||||
mod_version = 0.0.1-alpha02
|
||||
maven_group = me.jonasjones
|
||||
archives_base_name = betterconsolemc
|
||||
|
||||
|
|
|
|||
|
|
@ -23,12 +23,6 @@ public class GameCommandHandler {
|
|||
return 1;
|
||||
})))
|
||||
);
|
||||
serverCommandSourceCommandDispatcher.register((CommandManager.literal("cmd").requires(source -> source.hasPermissionLevel(4))
|
||||
.then(CommandManager.argument("Console Command", MessageArgumentType.message())
|
||||
.executes((context -> {
|
||||
System.out.println("UWU");
|
||||
return 0;
|
||||
})))));
|
||||
}
|
||||
public static Text runCommand(CommandPreRegistry commandPreRegistry, CommandContext<ServerCommandSource> context) {
|
||||
new Thread(() -> {ShellCommand.execute(commandPreRegistry, context);}).start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue