diff options
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt index cc2d813..7c6c391 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt @@ -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 } |