aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-18 09:25:08 +0200
committerGitHub <noreply@github.com>2024-08-18 09:25:08 +0200
commite2bfcb31445aeb706af942a0cd680baeecf66cb7 (patch)
tree6541f927d818be161b637e9e71e9389dd2c2a0ab /src/main/java/at/hannibal2/skyhanni/utils
parentab6bb3f26b7c3c36754a3212c954b6b6733591f8 (diff)
downloadskyhanni-e2bfcb31445aeb706af942a0cd680baeecf66cb7.tar.gz
skyhanni-e2bfcb31445aeb706af942a0cd680baeecf66cb7.tar.bz2
skyhanni-e2bfcb31445aeb706af942a0cd680baeecf66cb7.zip
Fix: Item Pickup Log icons (#2373)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-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