aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 670e07b7f..82dbb7349 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -137,6 +137,11 @@ object NEUItems {
val map = mutableMapOf<String, NEUInternalName>()
for (rawInternalName in allNeuRepoItems().keys) {
var name = manager.createItem(rawInternalName).displayName.lowercase()
+
+ // we ignore all builder blocks from the item name -> internal name cache
+ // because builder blocks can have the same display name as normal items.
+ if (rawInternalName.startsWith("BUILDER_")) continue
+
val internalName = rawInternalName.asInternalName()
// TODO remove all except one of them once neu is consistent