LIGMA BALLS
This commit is contained in:
parent
8ae88917e1
commit
a5a52c67a0
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ import land.chipmunk.chipmunkmod.ChipmunkMod;
|
|||
import land.chipmunk.chipmunkmod.commands.*;
|
||||
|
||||
public class CommandManager {
|
||||
public static CommandDispatcher<FabricClientCommandSource> dispatcher = new CommandDispatcher();
|
||||
public static CommandDispatcher<FabricClientCommandSource> dispatcher = new CommandDispatcher<>();
|
||||
public static String prefix = ChipmunkMod.CONFIG.commands.prefix;
|
||||
|
||||
public static void executeCommand (String command) {
|
||||
|
@ -63,8 +63,8 @@ public class CommandManager {
|
|||
return text;
|
||||
}
|
||||
|
||||
public static LiteralArgumentBuilder<FabricClientCommandSource> literal (String name) { return LiteralArgumentBuilder.<FabricClientCommandSource>literal(name); }
|
||||
public static <T> RequiredArgumentBuilder<FabricClientCommandSource, T> argument (String name, ArgumentType<T> type) { return RequiredArgumentBuilder.<FabricClientCommandSource, T>argument(name, type); }
|
||||
public static LiteralArgumentBuilder<FabricClientCommandSource> literal (String name) { return LiteralArgumentBuilder.literal(name); }
|
||||
public static <T> RequiredArgumentBuilder<FabricClientCommandSource, T> argument (String name, ArgumentType<T> type) { return RequiredArgumentBuilder.argument(name, type); }
|
||||
|
||||
static {
|
||||
TestCommand.register(dispatcher);
|
||||
|
|
Loading…
Reference in a new issue