aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-26 22:46:54 +0200
committerGitHub <noreply@github.com>2024-04-26 22:46:54 +0200
commitef1c666e378bafe5d3dd0d499fb4a1befb208fc0 (patch)
treeac990385657a62cc606d18844e32cd98a4d8d6c2
parentb3ca5b1ffc698ede14d4e9d8ed2dc86711201de1 (diff)
downloadNotEnoughUpdates-ef1c666e378bafe5d3dd0d499fb4a1befb208fc0.tar.gz
NotEnoughUpdates-ef1c666e378bafe5d3dd0d499fb4a1befb208fc0.tar.bz2
NotEnoughUpdates-ef1c666e378bafe5d3dd0d499fb4a1befb208fc0.zip
Fix tab list warning cooldown being too short (#1117)
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt
index 0ab086b4..2ec0b5d4 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt
@@ -75,7 +75,7 @@ object TablistAPI {
if (addToQueue &&
list.isEmpty() &&
sawReset &&
- (System.nanoTime() - lastWorldSwitch > 10_000_000L) &&
+ (System.nanoTime() - lastWorldSwitch > 10_000_000_000L) &&
widget.widgetName != lastWidgetEnabled
) {
TablistTaskQueue.addToQueue(widget, showNotification)