aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2025-06-04 01:27:21 +0200
committerLinnea Gräf <nea@nea.moe>2025-06-04 01:29:52 +0200
commit9c32c6e824058181002b0518e7e12c3425715b4b (patch)
tree0ff76297835bb99a4d64c448b9b7357de3f1578b /src
parentca501218a2f2e4cfb97b4d3e33d0b46a3508a7d3 (diff)
downloadFirmament-9c32c6e824058181002b0518e7e12c3425715b4b.tar.gz
Firmament-9c32c6e824058181002b0518e7e12c3425715b4b.tar.bz2
Firmament-9c32c6e824058181002b0518e7e12c3425715b4b.zip
fix: Missing underscore and * import
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/util/SkyblockId.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/kotlin/util/SkyblockId.kt b/src/main/kotlin/util/SkyblockId.kt
index 5613393..0ccdcac 100644
--- a/src/main/kotlin/util/SkyblockId.kt
+++ b/src/main/kotlin/util/SkyblockId.kt
@@ -6,7 +6,8 @@ import com.mojang.serialization.Codec
import io.github.moulberry.repo.data.NEUIngredient
import io.github.moulberry.repo.data.NEUItem
import io.github.moulberry.repo.data.Rarity
-import java.util.*
+import java.util.Optional
+import java.util.UUID
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import kotlinx.serialization.json.Json
@@ -220,7 +221,7 @@ val ItemStack.skyBlockId: SkyblockId?
when {
potionName != null -> SkyblockId("POTION_${potionName.uppercase()};$potionLevel")
potionData != null -> SkyblockId("POTION_${potionData.uppercase()};$potionLevel")
- potionType != null -> SkyblockId("POTION${potionType.uppercase()}")
+ potionType != null -> SkyblockId("POTION_${potionType.uppercase()}")
else -> SkyblockId("WATER_BOTTLE")
}
}