TCheckpoint

This commit is contained in:
tyuXX 2025-06-29 14:43:19 +03:00
parent c5b686aeb5
commit 9ae9bf64e7
54 changed files with 252 additions and 118 deletions

View file

@ -28,7 +28,7 @@ public class ConfigRequirements {
public static boolean isCommandEnabled(String command) {
return switch (CommandRequirements.getOrDefault(command, "default")) {
case "market" -> getConfigValue(ConfigKey.MODULE_MARKET,Boolean.class);
case "market" -> getConfigValue(ConfigKey.MODULE_MARKET, Boolean.class);
case "leaderboard" -> getConfigValue(ConfigKey.MODULE_LEADERBOARD, Boolean.class);
case "job" -> getConfigValue(ConfigKey.MODULE_JOBS, Boolean.class);
case "stats" -> getConfigValue(ConfigKey.MODULE_LEVELING, Boolean.class);