From 86cbf9d4221e85dec14300c11393abb325bffcef Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 19:41:18 +0100 Subject: fix: Item predicates not applying unless a vanilla predicate is present --- src/main/kotlin/repo/HypixelStaticData.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/kotlin/repo/HypixelStaticData.kt') diff --git a/src/main/kotlin/repo/HypixelStaticData.kt b/src/main/kotlin/repo/HypixelStaticData.kt index 727a962..181aa70 100644 --- a/src/main/kotlin/repo/HypixelStaticData.kt +++ b/src/main/kotlin/repo/HypixelStaticData.kt @@ -6,6 +6,7 @@ import org.apache.logging.log4j.LogManager import org.lwjgl.glfw.GLFW import kotlinx.coroutines.async import kotlinx.coroutines.awaitAll +import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.withTimeoutOrNull import kotlinx.serialization.SerialName @@ -74,6 +75,7 @@ object HypixelStaticData { while (true) { logger.info("Updating NEU prices") updatePrices() + delay(10.minutes) } } } -- cgit