diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/repo')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/repo/HypixelStaticData.kt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/repo/HypixelStaticData.kt b/src/main/kotlin/moe/nea/firmament/repo/HypixelStaticData.kt index f2a2668..a5860ae 100644 --- a/src/main/kotlin/moe/nea/firmament/repo/HypixelStaticData.kt +++ b/src/main/kotlin/moe/nea/firmament/repo/HypixelStaticData.kt @@ -27,7 +27,7 @@ object HypixelStaticData { private set var bazaarData: Map<SkyblockId, BazaarData> = mapOf() private set - var collectionData: Map<Skill, CollectionSkillData> = mapOf() + var collectionData: Map<String, CollectionSkillData> = mapOf() private set @Serializable @@ -60,7 +60,10 @@ object HypixelStaticData { fun spawnDataCollectionLoop() { - Firmament.coroutineScope.launch { updateCollectionData() } + Firmament.coroutineScope.launch { + logger.info("Updating collection data") + updateCollectionData() + } Firmament.coroutineScope.launch { while (true) { logger.info("Updating NEU prices") |