aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt8
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