mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-31 20:01:25 +01:00
Fix: read range for globalchat/similarity.
This commit is contained in:
parent
9a2852c7e0
commit
8fde82b113
@ -24,6 +24,7 @@ public class SimilarWordsBKL extends DigestedWords {
|
||||
}
|
||||
public SimilarWordsBKLSettings applyConfig(ConfigFile config, String prefix){
|
||||
super.applyConfig(config, prefix);
|
||||
this.range = config.getInt(prefix + "range", this.range);
|
||||
this.maxSize = config.getInt(prefix + "size", this.maxSize);
|
||||
this.maxSeek= config.getInt(prefix + "seek", this.maxSeek);
|
||||
this.durExpire = (long) (config.getDouble(prefix + "time", (float) this.durExpire / 1000f) * 1000f);
|
||||
|
Loading…
Reference in New Issue
Block a user