diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaFixChat.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaFixChat.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaFixChat.kt index 9ba94fe86..ebdb83bcf 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaFixChat.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaFixChat.kt @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.features.event.diana +import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.ClickType import at.hannibal2.skyhanni.events.BurrowGuessEvent import at.hannibal2.skyhanni.events.ItemClickEvent @@ -15,6 +16,8 @@ import kotlin.time.Duration.Companion.seconds class DianaFixChat { + private val config get() = SkyHanniMod.feature.event.diana + private var hasSetParticleQuality = false private var hasSetToggleMusic = false private var lastParticleQualityPrompt = SimpleTimeMark.farPast() @@ -117,5 +120,5 @@ class DianaFixChat { errorCounter = 0 } - private fun isEnabled() = DianaAPI.isDoingDiana() + private fun isEnabled() = DianaAPI.isDoingDiana() && config.burrowsSoopyGuess } |