aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-05-13 23:41:06 +1000
committerGitHub <noreply@github.com>2024-05-13 15:41:06 +0200
commit04577ecd59699e7f9408430ff23a3cc2db81a546 (patch)
treed98463f23d93fd41f3301e8ed259d594917d443b
parent265978398c13997cdf9f50223fe53c8fd313aedc (diff)
downloadskyhanni-04577ecd59699e7f9408430ff23a3cc2db81a546.tar.gz
skyhanni-04577ecd59699e7f9408430ff23a3cc2db81a546.tar.bz2
skyhanni-04577ecd59699e7f9408430ff23a3cc2db81a546.zip
Fix: some REFINED_BOTTLE_OF_JYRRE errors (#1786)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/winter/JyrreTimer.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/winter/JyrreTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/event/winter/JyrreTimer.kt
index 0abf9d245..20afee4f1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/winter/JyrreTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/winter/JyrreTimer.kt
@@ -33,6 +33,7 @@ class JyrreTimer {
}
private fun resetDisplay() {
+ if (display.isEmpty()) return
display = if (config.showInactive) drawDisplay() else emptyList()
duration = 0.seconds
}