From 274e15bbfb84a6fd9f923e56ab2055665f4fb734 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 10 Aug 2023 10:45:49 +0200 Subject: fixed NEUInternalName --- src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java') 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 -- cgit