From 80cf194d84fb1a9f6a0774cc16c9b8a658bc95a8 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sat, 5 Oct 2024 03:38:32 +0200 Subject: [PATCH] make PacketCounter nicer --- .../baseband/client/feature/modules/client/PacketCounter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/client/PacketCounter.java b/Client/src/main/java/de/com/baseband/client/feature/modules/client/PacketCounter.java index 7ed6c6c..57e31ca 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/client/PacketCounter.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/client/PacketCounter.java @@ -12,7 +12,7 @@ import java.util.LinkedList; import java.util.Queue; @ClientCategory -@Description("Shows how many packets per second are being sent/received.") +@Description("Shows how many packets per §lHALF§r second are being sent/received.") public class PacketCounter extends Feature { long totUp = 0, totDown = 0; @@ -84,7 +84,7 @@ public class PacketCounter extends Feature { } public boolean passed() { - return (System.currentTimeMillis() - time) >= 1000; + return (System.currentTimeMillis() - time) >= 500; } } }