diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-08-18 09:25:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-18 09:25:08 +0200 |
commit | e2bfcb31445aeb706af942a0cd680baeecf66cb7 (patch) | |
tree | 6541f927d818be161b637e9e71e9389dd2c2a0ab /src/main/java/at/hannibal2/skyhanni/utils | |
parent | ab6bb3f26b7c3c36754a3212c954b6b6733591f8 (diff) | |
download | skyhanni-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.kt | 5 |
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 |