aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-07-06 08:51:45 +0200
committerGitHub <noreply@github.com>2024-07-06 08:51:45 +0200
commit2b9288aa84e5101ad7c8f3867509cb9b3298d775 (patch)
tree5824e111a8fd061bb693d2f800623bbfbb6c3906
parent963edde72d6454235068a45c45a2a14d652972ff (diff)
downloadskyhanni-2b9288aa84e5101ad7c8f3867509cb9b3298d775.tar.gz
skyhanni-2b9288aa84e5101ad7c8f3867509cb9b3298d775.tar.bz2
skyhanni-2b9288aa84e5101ad7c8f3867509cb9b3298d775.zip
Fix: Double-Bit in Reforge Helper (#2182)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt
index 70f6910c9..8d70e47ba 100644
--- a/src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt
@@ -68,7 +68,7 @@ object ReforgeAPI {
val rawReforgeStoneName = reforgeStone?.itemNameWithoutColor
- val lowercaseName = name.lowercase()
+ val lowercaseName = name.lowercase().replace('-', '_')
fun isValid(itemStack: ItemStack) = isValid(itemStack.getItemCategoryOrNull(), itemStack.getInternalName())