From 7e0c7e599ed184281bf3745d4606f08a11d19a7a Mon Sep 17 00:00:00 2001 From: Bella Date: Wed, 12 Feb 2020 19:46:11 -0500 Subject: [PATCH] 10 instead of 5 --- .../me/zeroeightsix/kami/module/modules/misc/AntiChatSpam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/misc/AntiChatSpam.java b/src/main/java/me/zeroeightsix/kami/module/modules/misc/AntiChatSpam.java index cc2a1e8a..eb65341f 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/misc/AntiChatSpam.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/misc/AntiChatSpam.java @@ -67,7 +67,7 @@ public class AntiChatSpam extends Module { messageHistory .entrySet() .stream() - .filter(entry -> entry.getValue() < System.currentTimeMillis() - 5 * 60 * 1000) // 5 is delay in minutes + .filter(entry -> entry.getValue() < System.currentTimeMillis() - 10 * 60 * 1000) // 5 is delay in minutes .collect(Collectors.toList()) .forEach(entry -> messageHistory.remove(entry.getKey())); }