Attempting to improve teams for glow

This commit is contained in:
Teriuihi 2023-07-07 01:09:56 +02:00
parent 8fa21120be
commit 95b98ef462
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class PlayerUtilsCommand implements CommandExecutor, TabExecutor {
command.setAliases(List.of("pu"));
subCommands = Arrays.asList(
new Glow(),
new Glow(logger),
new XPCheque(playerUtils)
);
}

View File

@ -54,11 +54,13 @@ public class Messages extends AbstractConfig {
public static String GLOW_OFF = "<green>Glow turned off</green>";
public static String GLOW_ON = "<green>Glow turned on, you are now glowing <color></green>";
public static String UNABLE_TO_GET_SCOREBOARD = "<red>Unable to get scoreboard for team</red>";
@SuppressWarnings("unused")
private static void load() {
GLOW_OFF = config.getString(prefix, "glow-off",GLOW_OFF);
GLOW_ON = config.getString(prefix, "glow-on",GLOW_ON);
UNABLE_TO_GET_SCOREBOARD = config.getString(prefix, "unable-to-get-scoreboard",UNABLE_TO_GET_SCOREBOARD);
}
}