diff options
author | nea <nea@nea.moe> | 2023-07-30 14:40:53 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-30 14:40:53 +0200 |
commit | 2f700453a4f688898c2c0040b3e0a628e89fa335 (patch) | |
tree | 8758fc631a6b898ecd9e0d99331244157d6f4fa4 /src/main/kotlin/moe/nea/firmament/repo | |
parent | d4b254ea11798a8ba4b891d31c433496b7c53bb3 (diff) | |
download | firmament-2f700453a4f688898c2c0040b3e0a628e89fa335.tar.gz firmament-2f700453a4f688898c2c0040b3e0a628e89fa335.tar.bz2 firmament-2f700453a4f688898c2c0040b3e0a628e89fa335.zip |
Fix skill data breaking collections
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") |