mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-27 09:51:32 +01:00
Log "system time ran backwards" on warning level.
This commit is contained in:
parent
a24092f6c6
commit
cb73221cfd
@ -480,7 +480,7 @@ public class TickTask implements Runnable {
|
|||||||
|
|
||||||
// Time running backwards check (not only players can!).
|
// Time running backwards check (not only players can!).
|
||||||
if (timeLast > time) {
|
if (timeLast > time) {
|
||||||
LogUtil.logSevere("[NoCheatPlus] System time ran backwards (" + timeLast + "->" + time + "), clear all data and history...");
|
LogUtil.logWarning("[NoCheatPlus] System time ran backwards (" + timeLast + "->" + time + "), clear all data and history...");
|
||||||
DataManager.clearData(CheckType.ALL);
|
DataManager.clearData(CheckType.ALL);
|
||||||
lastDur = 50;
|
lastDur = 50;
|
||||||
for (int i = 0; i < spikeDurations.length; i++){
|
for (int i = 0; i < spikeDurations.length; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user