diff --git a/NCPCompatProtocolLib/src/main/java/fr/neatmonster/nocheatplus/checks/net/protocollib/FlyingFrequency.java b/NCPCompatProtocolLib/src/main/java/fr/neatmonster/nocheatplus/checks/net/protocollib/FlyingFrequency.java index 9e45c5e9..ae6ff1c1 100644 --- a/NCPCompatProtocolLib/src/main/java/fr/neatmonster/nocheatplus/checks/net/protocollib/FlyingFrequency.java +++ b/NCPCompatProtocolLib/src/main/java/fr/neatmonster/nocheatplus/checks/net/protocollib/FlyingFrequency.java @@ -76,15 +76,15 @@ public class FlyingFrequency extends BaseAdapter { } final NetConfig cc = configFactory.getConfig(player.getWorld()); + // Always update last received time. + final NetData data = dataFactory.getData(player); + data.lastKeepAliveTime = time; // Update without much of a contract. if (!cc.flyingFrequencyActive) { return; } counters.add(idHandled, 1); - final NetData data = dataFactory.getData(player); - data.lastKeepAliveTime = time; // Update without much of a contract. - final boolean primaryThread = !event.isAsync(); if (!primaryThread) { // Count all asynchronous events.