mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-06 02:17:25 +02:00
Add safety check for the "system time ran backwards" category.
This commit is contained in:
parent
e2849c2979
commit
ede74785d2
@ -55,7 +55,7 @@ public class ActionFrequency {
|
||||
// No update.
|
||||
return;
|
||||
}
|
||||
else if (shift >= buckets.length){
|
||||
else if (shift >= buckets.length || shift < 0){
|
||||
// Clear (beyond range).
|
||||
clear(now);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user