mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-02-20 13:41:26 +01:00
Check violation vs. the less strict limit.
This commit is contained in:
parent
4ee4e6f08d
commit
58a7c15966
@ -97,7 +97,7 @@ public class MorePackets extends Check {
|
||||
|
||||
}
|
||||
|
||||
final double violation = (double) fullCount - (double) (burnScore * data.morePacketsFreq.numberOfBuckets());
|
||||
final double violation = (double) fullCount - (double) (maxPackets * data.morePacketsFreq.numberOfBuckets() * data.morePacketsFreq.bucketDuration() / 1000f);
|
||||
|
||||
// TODO: Burn time windows based on other activity counting [e.g. same resolution ActinFrequency with keep-alive].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user