From e2bfcb31445aeb706af942a0cd680baeecf66cb7 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 18 Aug 2024 09:25:08 +0200 Subject: Fix: Item Pickup Log icons (#2373) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main') 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() 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 -- cgit