diff options
author | Luna <luna@alexia.lol> | 2024-06-20 22:57:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 22:57:10 +0200 |
commit | 4e4bbc951813d082ccc8685689c221f8e0ecdbc2 (patch) | |
tree | 61cb1689f77ed6ef370bd0f693c199a8ca701888 /src/main/java/at/hannibal2 | |
parent | 1c3da11e8cf3955f44cf6a7f5323069d70fc69a5 (diff) | |
download | skyhanni-4e4bbc951813d082ccc8685689c221f8e0ecdbc2.tar.gz skyhanni-4e4bbc951813d082ccc8685689c221f8e0ecdbc2.tar.bz2 skyhanni-4e4bbc951813d082ccc8685689c221f8e0ecdbc2.zip |
Fix: Event start time being null in custom scoreboard (#2113)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt | 2 |
1 files changed, 1 insertions, 1 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 6d35dc100..d8fdf532b 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 @@ -430,7 +430,7 @@ private fun getActiveEventShowWhen(): Boolean = private fun getSoonEventLine(): List<String> { val soonActiveEvent = getTablistEvent() ?: return emptyList() - val soonActiveEventTime = TabListData.getTabList().firstOrNull { SbPattern.eventTimeEndsPattern.matches(it) } + val soonActiveEventTime = TabListData.getTabList().firstOrNull { SbPattern.eventTimeStartsPattern.matches(it) } ?.let { SbPattern.eventTimeStartsPattern.matchMatcher(it) { group("time") |