Skip to content

Commit

Permalink
added missing SubCommand for reloadconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
ezTxmMC committed Aug 19, 2024
1 parent a09a950 commit 64292a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 64292a3

Please sign in to comment.