From a1d4892b5bd721a108b2f55ff303de049a64c535 Mon Sep 17 00:00:00 2001 From: ingle Date: Sat, 29 Oct 2022 12:19:49 -0500 Subject: = fix config text and throttle notification antispam --- src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt') diff --git a/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt b/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt index b17f301..ff747eb 100644 --- a/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt +++ b/src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt @@ -11,7 +11,7 @@ object ThrottleNotif { if (unformatted == "This menu has been throttled! Please slow down..." && DulkirMod.config.throttleNotifier && Utils.isInDungeons()) { event.isCanceled = true; - if (!Config.throttleNotifierSpam && System.currentTimeMillis() - lastThrottle > 3000) { + if (!Config.throttleNotifierSpam && System.currentTimeMillis() - lastThrottle > 8000) { DulkirMod.mc.thePlayer.sendChatMessage("/pc " + DulkirMod.config.customMessage) } else { -- cgit