From 67c02be99e44b81d14174bc02c46869271eeb71f Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 4 May 2023 16:01:51 +0200 Subject: Fix pet skyblock id --- src/main/kotlin/moe/nea/notenoughupdates/util/SkyblockId.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin') 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 } -- cgit