TCheckpoint
This commit is contained in:
parent
26daa1e830
commit
9bc57fdcb4
52 changed files with 563 additions and 111 deletions
|
|
@ -34,8 +34,10 @@ public class ConfigRequirements {
|
|||
Map.entry("buyTp", "market"),
|
||||
Map.entry("reloadGrimmsConfig", "default"),
|
||||
Map.entry("home", "homes"),
|
||||
Map.entry("nick", "chat")
|
||||
Map.entry("nick", "chat"),
|
||||
Map.entry("market", "market")
|
||||
);
|
||||
|
||||
public static boolean isCommandEnabled(String command) {
|
||||
return switch (CommandRequirements.getOrDefault(command, "default")) {
|
||||
case "market" -> ActiveConfig.module_Market;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue