aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-05-27 01:02:49 +0200
committerGitHub <noreply@github.com>2024-05-27 01:02:49 +0200
commit663abc4b0728cf0200c9493492bbfb946c393b25 (patch)
treecbd2e76ebe9671a61c5f546919ecb2ca7b2432b4 /src/main/java/at/hannibal2/skyhanni/features
parent92fea8e9e211118937905dc56fff9b5faafdef23 (diff)
downloadskyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.tar.gz
skyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.tar.bz2
skyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.zip
Fix: Bumped Custom Scoreboard Error Time to 1 second (#1900)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
index cefa6e67f..4c37a3cf0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
@@ -43,11 +43,11 @@ import at.hannibal2.skyhanni.utils.TimeLimitedSet
import at.hannibal2.skyhanni.utils.TimeUtils.format
import at.hannibal2.skyhanni.utils.TimeUtils.formatted
import java.util.function.Supplier
-import kotlin.time.Duration.Companion.milliseconds
+import kotlin.time.Duration.Companion.seconds
internal var confirmedUnknownLines = mutableListOf<String>()
internal var unconfirmedUnknownLines = listOf<String>()
-internal var unknownLinesSet = TimeLimitedSet<String>(500.milliseconds) { onRemoval(it) }
+internal var unknownLinesSet = TimeLimitedSet<String>(1.seconds) { onRemoval(it) }
private fun onRemoval(line: String) {
if (!unconfirmedUnknownLines.contains(line)) return