diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-30 13:15:44 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-30 13:15:44 +0200 |
commit | ce7fdde67857fd2e0690907e2df756830229b048 (patch) | |
tree | 102e9fa7b3b4761b7e72260411cc799049a9891d | |
parent | c56134c0237aeaeebaf6133394f1c9547b8765fa (diff) | |
download | skyhanni-ce7fdde67857fd2e0690907e2df756830229b048.tar.gz skyhanni-ce7fdde67857fd2e0690907e2df756830229b048.tar.bz2 skyhanni-ce7fdde67857fd2e0690907e2df756830229b048.zip |
code cleanup
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt index 78f73cc13..a6e3ca165 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt @@ -350,10 +350,10 @@ private fun getWinterLines() = buildList { } private fun getWinterShowWhen(): Boolean = getSbLines().any { - ScoreboardPattern.winterEventStartPattern.matches(it) - || (ScoreboardPattern.winterNextWavePattern.matches(it) && !it.endsWith("Soon!")) - || ScoreboardPattern.winterWavePattern.matches(it) - } + ScoreboardPattern.winterEventStartPattern.matches(it) + || (ScoreboardPattern.winterNextWavePattern.matches(it) && !it.endsWith("Soon!")) + || ScoreboardPattern.winterWavePattern.matches(it) +} private fun getSpookyLines() = buildList { getSbLines().firstOrNull { SbPattern.spookyPattern.matches(it) }?.let { add(it) } // Time |