aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-24 18:12:39 +0200
committernea <nea@nea.moe>2023-08-24 18:12:39 +0200
commitb0cb9a70cd9a3f02b86e0386ab6bb70974bba35a (patch)
treeddb5e478c321e87c424f002b959265b25891b943 /src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
parent8c5570bfe6ab93855e24e6924fac1105fe8342ff (diff)
downloadfirmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.tar.gz
firmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.tar.bz2
firmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.zip
Revive old profile viewer
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt b/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
index 51c8c22..fe2b4e5 100644
--- a/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
+++ b/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
@@ -28,7 +28,7 @@ import moe.nea.firmament.util.json.DashlessUUIDSerializer
@JvmInline
@Serializable
value class SkyblockId(val neuItem: String) {
- val identifier get() = Identifier("skyblockitem", neuItem.lowercase().replace(";", "__"))
+ val identifier get() = Identifier("skyblockitem", neuItem.lowercase().replace(";", "__").replace(":", "___"))
/**
* A bazaar stock item id, as returned by the HyPixel bazaar api endpoint.