diff options
author | Walker Selby <git@walkerselby.com> | 2023-12-04 07:09:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 16:09:38 +0100 |
commit | 5a8d02dcd10015f310bab9d18558d2299c856dd1 (patch) | |
tree | 00ed1b7cc677dc8f38b540ea80424166752c5fc8 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | a0b37ef8029ff0aecf890447e62e92bf2c28c304 (diff) | |
download | skyhanni-5a8d02dcd10015f310bab9d18558d2299c856dd1.tar.gz skyhanni-5a8d02dcd10015f310bab9d18558d2299c856dd1.tar.bz2 skyhanni-5a8d02dcd10015f310bab9d18558d2299c856dd1.zip |
Fix: Fix Poison Candy I Compact Potion & Cleanup (#758)
changed CompactSplashPotionMessage, added compact potion message support for splash messages and for Poisoned Candy I. #758
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt index 80c3b870d..d08dd888a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt @@ -63,6 +63,7 @@ class NonGodPotEffectDisplay { private var patternEffectsCount = "§7You have §e(?<name>\\d+) §7non-god effects\\.".toPattern() private var totalEffectsCount = 0 + // todo : cleanup and add support for poison candy I, and add support for splash / other formats @SubscribeEvent fun onChatMessage(event: LorenzChatEvent) { if (event.message == "§aYou cleared all of your active effects!") { @@ -95,6 +96,7 @@ class NonGodPotEffectDisplay { effectDuration[NonGodPotEffect.GOBLIN] = Timer(20.minutes) update() } + if (event.message == "§cThe Goblin King's §r§afoul stench §r§chas dissipated!") { effectDuration.remove(NonGodPotEffect.GOBLIN) update() |