TCheckpoint
This commit is contained in:
parent
c5b686aeb5
commit
9ae9bf64e7
54 changed files with 252 additions and 118 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue