Added missing reload command message to configuration

The reload command message was added to the Messages.
This commit is contained in:
Teriuihi 2025-05-17 20:22:59 +02:00
parent 9cd55f0a18
commit fc7f0ecb3c
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package com.alttd.hunger_games.commands.subcommands;
import com.alttd.hunger_games.Main;
import com.alttd.hunger_games.commands.SubCommand;
import com.alttd.hunger_games.config.Messages;
import lombok.AllArgsConstructor;
import org.bukkit.command.CommandSender;

View File

@ -22,11 +22,13 @@ public class Messages extends AbstractConfig {
public static String HELP_MESSAGE_WRAPPER = "<gold>Main help:\n<commands></gold>";
public static String HELP_MESSAGE = "<green>Show this menu: <gold>/hg help</gold></green>";
public static String RELOAD = "<green>Reload the config: <gold>/hg reload</gold></green>";
@SuppressWarnings("unused")
private static void load() {
HELP_MESSAGE_WRAPPER = config.getString(prefix, "help-wrapper", HELP_MESSAGE_WRAPPER);
HELP_MESSAGE = config.getString(prefix, "help", HELP_MESSAGE);
RELOAD = config.getString(prefix, "reload", RELOAD);
}
}