diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-05-27 01:02:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 01:02:49 +0200 |
commit | 663abc4b0728cf0200c9493492bbfb946c393b25 (patch) | |
tree | cbd2e76ebe9671a61c5f546919ecb2ca7b2432b4 | |
parent | 92fea8e9e211118937905dc56fff9b5faafdef23 (diff) | |
download | skyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.tar.gz skyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.tar.bz2 skyhanni-663abc4b0728cf0200c9493492bbfb946c393b25.zip |
Fix: Bumped Custom Scoreboard Error Time to 1 second (#1900)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt | 4 |
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 |