diff options
author | Jacob <admin@kath.lol> | 2025-07-14 19:28:22 +0800 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-07-14 14:47:11 +0200 |
commit | 4cd6602805c052ad96b4a39a72b187478d3e501a (patch) | |
tree | ce98b1cde017c123bf7e23978fa572ad6653e36f | |
parent | 649aac85c3feef069b9e8f0f81ea9c9b321ccdb0 (diff) | |
download | Firmament-master.tar.gz Firmament-master.tar.bz2 Firmament-master.zip |
-rw-r--r-- | src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt b/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt index 4f9acd8..9356dd3 100644 --- a/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt +++ b/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt @@ -185,7 +185,7 @@ object ExportRecipe { } fun generateName(name: String): SkyblockId { - return SkyblockId(name.uppercase().replace(" ", "_").replace("(", "").replace(")", "")) + return SkyblockId(name.uppercase().replace(" ", "_").replace(Regex("[^A-Z_]+"), "")) } fun findStackableItemByName(name: String, fallbackToGenerated: Boolean = false): Pair<SkyblockId, Double>? { |