aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-08 22:51:53 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-08 22:51:53 +0200
commit69ec64113b02e51d9eeceb7e71907ade7326bf7b (patch)
tree47b7f11b345af2123a9ab66a03cbee68e6fa7381 /src/main
parent5ce14a63f6cfd523148fe53953f91a45ab388787 (diff)
downloadskyhanni-69ec64113b02e51d9eeceb7e71907ade7326bf7b.tar.gz
skyhanni-69ec64113b02e51d9eeceb7e71907ade7326bf7b.tar.bz2
skyhanni-69ec64113b02e51d9eeceb7e71907ade7326bf7b.zip
removing king scent form non god pot timer if you touch water
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt5
1 files changed, 5 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 b57e363d8..aaefe167f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
@@ -76,6 +76,11 @@ class NonGodPotEffectDisplay {
effectDuration[NonGodPotEffect.GOBLIN] = System.currentTimeMillis() + 1000 * 60 * 20
update()
}
+ if (event.message == "§cThe Goblin King's §r§afoul stench §r§chas dissipated!") {
+ checkFooter = true
+ effectDuration.remove(NonGodPotEffect.GOBLIN)
+ update()
+ }
}
private fun update() {