diff options
author | nea <nea@nea.moe> | 2023-06-03 14:24:48 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-06-03 14:24:48 +0200 |
commit | 9477a32ad577fc242fd83059826706fcea8c6f31 (patch) | |
tree | 900481bf5c9bc390b4101f946f6221b9995eccba /src/main/kotlin/moe/nea/firmament/apis | |
parent | 06a8ace53c3c1fcce02e9a9d085b82acb8cecb71 (diff) | |
download | Firmament-9477a32ad577fc242fd83059826706fcea8c6f31.tar.gz Firmament-9477a32ad577fc242fd83059826706fcea8c6f31.tar.bz2 Firmament-9477a32ad577fc242fd83059826706fcea8c6f31.zip |
Bad pets menu
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/apis')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/apis/Profiles.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt index 7132147..4d4f370 100644 --- a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt +++ b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt @@ -14,6 +14,7 @@ import net.minecraft.util.DyeColor import net.minecraft.util.Formatting import moe.nea.firmament.repo.RepoManager import moe.nea.firmament.util.LegacyFormattingCode +import moe.nea.firmament.util.SkyblockId import moe.nea.firmament.util.json.DashlessUUIDSerializer import moe.nea.firmament.util.json.InstantAsLongSerializer @@ -108,7 +109,9 @@ data class Pet( val candyUsed: Int, val heldItem: String?, val skin: String?, -) +) { + val itemId get() = SkyblockId("${type.name};${tier.ordinal}") +} @Serializable data class PlayerResponse( |