diff options
author | Appability <appable@icloud.com> | 2023-01-11 21:06:21 -0800 |
---|---|---|
committer | Appability <appable@icloud.com> | 2023-01-11 21:06:21 -0800 |
commit | 6f20dde529a1db8f7590ab2521776b541ea88947 (patch) | |
tree | ce49218f64dc7936380db74b4be2b0430bd08bc3 /src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt | |
parent | e87a8136ec9e980f9ea735a45685a6e0c71adf1f (diff) | |
download | AmbientAddons-patch.tar.gz AmbientAddons-patch.tar.bz2 AmbientAddons-patch.zip |
change to metadata (dyeDamage seems to be 15 minus metadata? confusing)patch
also add another trapper thing
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt')
-rw-r--r-- | src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt | 2 |
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) { |