Revive old profile viewer

This commit is contained in:
nea
2023-08-24 18:12:39 +02:00
parent 8c5570bfe6
commit b0cb9a70cd
7 changed files with 86 additions and 30 deletions

View File

@@ -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.