diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 20:07:36 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 20:07:36 +0100 |
commit | 19cbeabc2a7eff5e5c4ccef0cbe6404ad6d1abba (patch) | |
tree | 4f7234c3db6039771a71a7636df22dfd089a4e69 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 9e16ac756bbeadad01eb247ae4c220bf1f4001f4 (diff) | |
download | skyhanni-19cbeabc2a7eff5e5c4ccef0cbe6404ad6d1abba.tar.gz skyhanni-19cbeabc2a7eff5e5c4ccef0cbe6404ad6d1abba.tar.bz2 skyhanni-19cbeabc2a7eff5e5c4ccef0cbe6404ad6d1abba.zip |
Added the coin price in the visitor items needed list
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt index 8de57f642..568ccbb87 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt @@ -23,7 +23,12 @@ object NEUItems { if (itemNameCache.containsKey(itemName)) { return itemNameCache[itemName]!! } - val internalName = ItemResolutionQuery.findInternalNameByDisplayName(itemName, false) + var internalName = ItemResolutionQuery.findInternalNameByDisplayName(itemName, false) + // This fixes a NEU bug with ยง9Hay Bale (cosmetic item) + // TODO remove workaround when this is fixed in neu + if (internalName == "HAY_BALE") { + internalName = "HAY_BLOCK" + } itemNameCache[itemName] = internalName return internalName } |