aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-06-20 22:57:10 +0200
committerGitHub <noreply@github.com>2024-06-20 22:57:10 +0200
commit4e4bbc951813d082ccc8685689c221f8e0ecdbc2 (patch)
tree61cb1689f77ed6ef370bd0f693c199a8ca701888 /src/main
parent1c3da11e8cf3955f44cf6a7f5323069d70fc69a5 (diff)
downloadskyhanni-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')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt2
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")