From 3ddc6ca8eca455d2e1c726b3de81656a7fec791b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 26 Apr 2024 22:41:35 +0200 Subject: Set tab list cooldown to 10 seconds --- .../notenoughupdates/miscfeatures/tablisttutorial/TablistAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/io') 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) -- cgit