diff --git a/src/main/java/ac/grim/grimac/checks/impl/movement/TickTimer.java b/src/main/java/ac/grim/grimac/checks/impl/movement/TickTimer.java index 4e687a2202..75c111c386 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/movement/TickTimer.java +++ b/src/main/java/ac/grim/grimac/checks/impl/movement/TickTimer.java @@ -22,12 +22,16 @@ public TickTimer(GrimPlayer player) { public void onPacketReceive(PacketReceiveEvent event) { if (!player.supportsEndTick()) return; if (isFlying(event.getPacketType()) && !player.packetStateData.lastPacketWasTeleport) { - if (!receivedTickEnd) flagAndAlert("type=flying, packets=" + flyingPackets); + if (!receivedTickEnd && flagWithSetback()) { + alert("type=flying, packets=" + flyingPackets); + } receivedTickEnd = false; flyingPackets++; } else if (event.getPacketType() == PacketType.Play.Client.CLIENT_TICK_END) { receivedTickEnd = true; - if (flyingPackets > 1) flagAndAlert("type=end, packets=" + flyingPackets); + if (flyingPackets > 1 && flagWithSetback()) { + alert("type=end, packets=" + flyingPackets); + } flyingPackets = 0; } }