aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/features/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/features/misc')
-rw-r--r--src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
index 7311b7b..5c3e00c 100644
--- a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
+++ b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
@@ -56,7 +56,7 @@ object Trapper {
if (config.autoTrapper) {
mc.thePlayer.sendChatMessage(command)
}
- cooldownEndTime = System.currentTimeMillis() + 30000
+ cooldownEndTime = System.currentTimeMillis() + (if (config.finneganActive) 30000 else 60000)
}
val matchResult = event.message.formattedText.let { trapperRegex.find(it) }
if (matchResult != null) {