aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-10-29 12:19:49 -0500
committeringle <inglettronald@gmail.com>2022-10-29 12:19:49 -0500
commita1d4892b5bd721a108b2f55ff303de049a64c535 (patch)
treeb5063b38d0dc22866ae2a5bdd1c7dff2bdae2ea5 /src/main/kotlin/dulkirmod/features
parent393d4c8e14730a5c9b31695f722b6de9480508ec (diff)
downloadDulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.tar.gz
DulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.tar.bz2
DulkirMod-a1d4892b5bd721a108b2f55ff303de049a64c535.zip
= fix config text and throttle notification antispam
Diffstat (limited to 'src/main/kotlin/dulkirmod/features')
-rw-r--r--src/main/kotlin/dulkirmod/features/chat/ThrottleNotif.kt2
1 files changed, 1 insertions, 1 deletions
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 {