From 3f1fd1d0dcf9fe3fb18d7fc8579a35f543df937b Mon Sep 17 00:00:00 2001 From: Skullian <133133667+Skullians@users.noreply.github.com> Date: Tue, 24 Dec 2024 16:32:10 +0000 Subject: [PATCH] Fix: Correct command class name and register --- .../net/skullian/skyfactions/common/command/CommandHandler.java | 1 + .../command/sf/{SFLanguageTab.java => SFLanguageCommand.java} | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename common/src/main/java/net/skullian/skyfactions/common/command/sf/{SFLanguageTab.java => SFLanguageCommand.java} (97%) diff --git a/common/src/main/java/net/skullian/skyfactions/common/command/CommandHandler.java b/common/src/main/java/net/skullian/skyfactions/common/command/CommandHandler.java index aa73f8aa..d5563f09 100644 --- a/common/src/main/java/net/skullian/skyfactions/common/command/CommandHandler.java +++ b/common/src/main/java/net/skullian/skyfactions/common/command/CommandHandler.java @@ -77,6 +77,7 @@ default void registerSubCommands(AnnotationParser parser) { register(new SFHelpCommand(), parser); register(new SFInfoCommand(), parser); + register(new SFLanguageCommand(), parser); register(new SFNPCDisableCommand(), parser); register(new SFNPCReloadCommand(), parser); register(new SFReloadCommand(), parser); diff --git a/common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageTab.java b/common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageCommand.java similarity index 97% rename from common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageTab.java rename to common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageCommand.java index 4781f455..3851bde0 100644 --- a/common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageTab.java +++ b/common/src/main/java/net/skullian/skyfactions/common/command/sf/SFLanguageCommand.java @@ -15,7 +15,7 @@ import java.util.ArrayList; import java.util.List; -public class SFLanguageTab extends CommandTemplate { +public class SFLanguageCommand extends CommandTemplate { @Override public String getParent() { return "sf";