aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-10 10:45:49 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-10 10:45:49 +0200
commit274e15bbfb84a6fd9f923e56ab2055665f4fb734 (patch)
tree6e4887ab8f0bfbfb213e007fcff19ce2ea0c92a6 /src/main/java/at/hannibal2/skyhanni
parentd1e04ac013791113f1abf7fa7c64a047f92b1f15 (diff)
downloadskyhanni-274e15bbfb84a6fd9f923e56ab2055665f4fb734.tar.gz
skyhanni-274e15bbfb84a6fd9f923e56ab2055665f4fb734.tar.bz2
skyhanni-274e15bbfb84a6fd9f923e56ab2055665f4fb734.zip
fixed NEUInternalName
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
index acf2aa092..d4499ab12 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
@@ -12,6 +12,8 @@ class NEUInternalName private constructor(private val internalName: String) {
val internalName = uppercase()
return map.getOrPut(internalName) { NEUInternalName(internalName) }
}
+
+ fun fromItemName(itemName: String) = NEUItems.getInternalNameFromItemName(itemName)
}
fun asString() = internalName