From a5a52c67a03594273f43f873b345506a22a4d126 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 6 May 2023 15:32:59 +0700 Subject: [PATCH] LIGMA BALLS --- .../land/chipmunk/chipmunkmod/command/CommandManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/land/chipmunk/chipmunkmod/command/CommandManager.java b/src/main/java/land/chipmunk/chipmunkmod/command/CommandManager.java index 96b0e12..0c317ae 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/command/CommandManager.java +++ b/src/main/java/land/chipmunk/chipmunkmod/command/CommandManager.java @@ -17,7 +17,7 @@ import land.chipmunk.chipmunkmod.ChipmunkMod; import land.chipmunk.chipmunkmod.commands.*; public class CommandManager { - public static CommandDispatcher dispatcher = new CommandDispatcher(); + public static CommandDispatcher 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 literal (String name) { return LiteralArgumentBuilder.literal(name); } - public static RequiredArgumentBuilder argument (String name, ArgumentType type) { return RequiredArgumentBuilder.argument(name, type); } + public static LiteralArgumentBuilder literal (String name) { return LiteralArgumentBuilder.literal(name); } + public static RequiredArgumentBuilder argument (String name, ArgumentType type) { return RequiredArgumentBuilder.argument(name, type); } static { TestCommand.register(dispatcher);