aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/repo
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-07-30 14:40:53 +0200
committernea <nea@nea.moe>2023-07-30 14:40:53 +0200
commit2f700453a4f688898c2c0040b3e0a628e89fa335 (patch)
tree8758fc631a6b898ecd9e0d99331244157d6f4fa4 /src/main/kotlin/moe/nea/firmament/repo
parentd4b254ea11798a8ba4b891d31c433496b7c53bb3 (diff)
downloadFirmament-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.kt7
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")