mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Persist checks disabled with /anticheat check in the configuration
This commit is contained in:
1 parent
bc9f52760d
commit
9154ef3370
4 files changed
+24
-26
No files matched your search
@@ -54,6 +54,7 @@ public class Config extends ConfigurationFile {
|
||||
public ConfigValue<Boolean> logToFile;
|
||||
|
||||
public ConfigValue<List<String>> disabledWorlds;
|
||||
public ConfigValue<List<String>> disabledChecks;
|
||||
|
||||
public Config(AntiCheat plugin, Configuration config) {
|
||||
super(plugin, config, FILENAME);
|
||||
@@ -88,5 +89,6 @@ public class Config extends ConfigurationFile {
|
||||
logToFile = new ConfigValue<Boolean>("system.log-to-file");
|
||||
|
||||
disabledWorlds = new ConfigValue<List<String>>("disable-in");
|
||||
disabledChecks = new ConfigValue<List<String>>("disabled-checks");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user