aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-26 22:41:35 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-26 22:42:00 +0200
commit3ddc6ca8eca455d2e1c726b3de81656a7fec791b (patch)
tree313dc48a6e0cd5e803731283ea9d9dbe926c4858 /src/main
parentd3106bf41e099d329d9db330ab09e167519fce25 (diff)
downloadNotEnoughUpdates-3ddc6ca8eca455d2e1c726b3de81656a7fec791b.tar.gz
NotEnoughUpdates-3ddc6ca8eca455d2e1c726b3de81656a7fec791b.tar.bz2
NotEnoughUpdates-3ddc6ca8eca455d2e1c726b3de81656a7fec791b.zip
Set tab list cooldown to 10 seconds
Diffstat (limited to 'src/main')
-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)