aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/apis
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-03 14:24:48 +0200
committernea <nea@nea.moe>2023-06-03 14:24:48 +0200
commit9477a32ad577fc242fd83059826706fcea8c6f31 (patch)
tree900481bf5c9bc390b4101f946f6221b9995eccba /src/main/kotlin/moe/nea/firmament/apis
parent06a8ace53c3c1fcce02e9a9d085b82acb8cecb71 (diff)
downloadfirmament-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.kt5
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(