removed debug code and bumped up version number

This commit is contained in:
Jonas_Jones 2022-12-15 23:16:52 +01:00
parent b2bf3deff5
commit b6fbf84947
2 changed files with 1 additions and 7 deletions

View file

@ -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

View file

@ -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();