aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-30 13:15:44 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-30 13:15:44 +0200
commitce7fdde67857fd2e0690907e2df756830229b048 (patch)
tree102e9fa7b3b4761b7e72260411cc799049a9891d /src/main/java
parentc56134c0237aeaeebaf6133394f1c9547b8765fa (diff)
downloadskyhanni-ce7fdde67857fd2e0690907e2df756830229b048.tar.gz
skyhanni-ce7fdde67857fd2e0690907e2df756830229b048.tar.bz2
skyhanni-ce7fdde67857fd2e0690907e2df756830229b048.zip
code cleanup
Diffstat (limited to 'src/main/java')
-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