From 4e4bbc951813d082ccc8685689c221f8e0ecdbc2 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 20 Jun 2024 22:57:10 +0200 Subject: Fix: Event start time being null in custom scoreboard (#2113) --- .../skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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 { 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") -- cgit