mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix false positive with horse and jump boost, added "max-setback-distance".
This commit is contained in:
1 parent
9850f48a4e
commit
07f957cf35
8 files changed
+31
-27
No files matched your search
@@ -51,6 +51,7 @@ public class Config extends ConfigurationFile {
|
||||
public ConfigValue<List<String>> disabledWorlds;
|
||||
|
||||
public ConfigValue<Integer> notifyEveryVl;
|
||||
public ConfigValue<Integer> maxSetbackDistance;
|
||||
|
||||
public Config(AntiCheatReloaded plugin, Configuration config) {
|
||||
super(plugin, config, FILENAME);
|
||||
@@ -85,5 +86,10 @@ public class Config extends ConfigurationFile {
|
||||
if (notifyEveryVl.getValue() < 1) {
|
||||
notifyEveryVl.setValue(5);
|
||||
}
|
||||
|
||||
maxSetbackDistance = new ConfigValue<Integer>("system.max-setback-distance");
|
||||
if (maxSetbackDistance.getValue() < 5) {
|
||||
maxSetbackDistance.setValue(50);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user