diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/chat/analysis/engine/LetterEngine.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/chat/analysis/engine/LetterEngine.java index f7223c99..7fa8620d 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/chat/analysis/engine/LetterEngine.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/checks/chat/analysis/engine/LetterEngine.java @@ -130,11 +130,11 @@ public class LetterEngine implements IRemoveData, IHaveCheckType, ConsistencyChe public void checkConsistency(final Player[] onlinePlayers) { // Use consistency checking to release some memory. final long now = System.currentTimeMillis(); - if (now < dataMap.lastAccess){ + if (now < dataMap.lastExpired){ dataMap.clear(); return; } - if (now - dataMap.lastAccess > dataMap.durExpire){ + if (now - dataMap.lastExpired > dataMap.durExpire){ dataMap.expire(now - dataMap.durExpire); } }