Fix pet skyblock id

This commit is contained in:
nea
2023-05-04 16:01:51 +02:00
parent 60ecfedf46
commit 67c02be99e

View File

@@ -21,7 +21,7 @@ data class HypixelPetInfo(
val type: String,
val tier: Rarity,
) {
val skyblockId get() = SkyblockId("${type.uppercase()};${tier}")
val skyblockId get() = SkyblockId("${type.uppercase()};${tier.ordinal}")
}
private val jsonparser = Json { ignoreUnknownKeys = true }