mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add command disabling
This commit is contained in:
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() {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user