From 522ccb4d14781ebbfe603d299986f85b95341107 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 10 Aug 2023 10:18:21 +0200 Subject: Using NEUInternalName in CollectionStep --- src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt index ce44e3d64..b706bfb68 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt @@ -47,11 +47,11 @@ object NEUItems { // TODO remove fun getRawInternalName(itemName: String): String { - return getInternalNameOrNull(itemName)?.asString() ?: throw Error("internal name is null for '$itemName'") + return getInternalNameFromItemName(itemName).asString() } - fun getInternalName(itemName: String): NEUInternalName { - return getInternalNameOrNull(itemName) ?: throw Error("getInternalName is null for '$itemName'") + fun getInternalNameFromItemName(itemName: String): NEUInternalName { + return getInternalNameOrNull(itemName) ?: throw Error("Internal name is null for '$itemName'") } fun getInternalNameOrNullIgnoreCase(itemName: String): NEUInternalName? { -- cgit