Add command disabling

This commit is contained in:
William committed 2022-08-22 17:29:58 +01:00
1 parent 632d43d131
commit 6cd2a23770
7 files changed
+59 -12

No files matched your search

@@ -5,6 +5,7 @@ import net.william278.annotaml.KeyPath;
import net.william278.annotaml.YamlFile;
import org.jetbrains.annotations.NotNull;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;
@@ -205,6 +206,10 @@ public class Settings {
return Optional.empty();
}
// Disabled commands
@KeyPath("disabled_commands")
public List<String> disabledCommands = Collections.emptyList();
@SuppressWarnings("unused")
public Settings() {
}