From 6f20dde529a1db8f7590ab2521776b541ea88947 Mon Sep 17 00:00:00 2001 From: Appability Date: Wed, 11 Jan 2023 21:06:21 -0800 Subject: change to metadata (dyeDamage seems to be 15 minus metadata? confusing) also add another trapper thing --- src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/com/ambientaddons/features/misc') 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) { -- cgit