diff options
author | nea <nea@nea.moe> | 2023-05-04 16:01:51 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-05-04 16:01:51 +0200 |
commit | 67c02be99e44b81d14174bc02c46869271eeb71f (patch) | |
tree | fac393845cbd45f981470245c82192e2009ac3ba /src | |
parent | 60ecfedf46e94344e6439a3a90c4c74ee65eeb2e (diff) | |
download | firmament-67c02be99e44b81d14174bc02c46869271eeb71f.tar.gz firmament-67c02be99e44b81d14174bc02c46869271eeb71f.tar.bz2 firmament-67c02be99e44b81d14174bc02c46869271eeb71f.zip |
Fix pet skyblock id
Diffstat (limited to 'src')
-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 } |