From 64292a3e4638ad9e61fc4e2bdbaada5b9f4974ee Mon Sep 17 00:00:00 2001 From: ezTxmMC Date: Mon, 19 Aug 2024 23:56:42 +0200 Subject: [PATCH] added missing SubCommand for reloadconfigs --- .../java/de/eztxm/luckprefix/command/LuckPrefixCommand.java | 4 ++-- .../{ReloadConfigs.java => ReloadConfigsSubCommand.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/{ReloadConfigs.java => ReloadConfigsSubCommand.java} (97%) diff --git a/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/LuckPrefixCommand.java b/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/LuckPrefixCommand.java index 91be57b..707ee8d 100644 --- a/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/LuckPrefixCommand.java +++ b/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/LuckPrefixCommand.java @@ -2,7 +2,7 @@ import de.eztxm.luckprefix.LuckPrefix; import de.eztxm.luckprefix.command.subcommand.GroupSubCommand; -import de.eztxm.luckprefix.command.subcommand.ReloadConfigs; +import de.eztxm.luckprefix.command.subcommand.ReloadConfigsSubCommand; import de.eztxm.luckprefix.util.Text; import net.kyori.adventure.audience.Audience; import net.luckperms.api.LuckPerms; @@ -57,7 +57,7 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd, @N return GroupSubCommand.execute(adventurePlayer, args); } case "reloadconfig" -> { - return ReloadConfigs.execute(adventurePlayer); + return ReloadConfigsSubCommand.execute(adventurePlayer); } } return false; diff --git a/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigs.java b/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigsSubCommand.java similarity index 97% rename from luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigs.java rename to luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigsSubCommand.java index c6b0100..aff1187 100644 --- a/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigs.java +++ b/luckprefix-modern/src/main/java/de/eztxm/luckprefix/command/subcommand/ReloadConfigsSubCommand.java @@ -13,7 +13,7 @@ import java.util.ArrayList; import java.util.List; -public class ReloadConfigs { +public class ReloadConfigsSubCommand { @SneakyThrows public static boolean execute(Audience adventurePlayer) {