diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-17 20:09:09 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-17 20:09:09 +0100 |
commit | c2dd809a5b1f135a5f7a65fc4cb7a51af33adaba (patch) | |
tree | 1a4377e1dbf55277f9e3cdc74b0b970335385fd6 /src/main/java/at/hannibal2/skyhanni/features | |
parent | ccf62da24f6e02e93b0971c7690cb1fc6a2e61fb (diff) | |
download | skyhanni-c2dd809a5b1f135a5f7a65fc4cb7a51af33adaba.tar.gz skyhanni-c2dd809a5b1f135a5f7a65fc4cb7a51af33adaba.tar.bz2 skyhanni-c2dd809a5b1f135a5f7a65fc4cb7a51af33adaba.zip |
Fixed Estimated Item Value error in Jerry's Island Deliveries menu.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt index 0ade3f245..d3560d3c6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt @@ -135,11 +135,17 @@ object EstimatedItemValue { return } - if (InventoryUtils.openInventoryName().startsWith("Museum ")) { + val openInventoryName = InventoryUtils.openInventoryName() + if (openInventoryName.startsWith("Museum ")) { if (item.getLore().any { it.contains("Armor Set") }) { return } } + if (openInventoryName == "Island Deliveries") { + if (item.getLore().any { it == "§eClick to collect!" }) { + return + } + } val newDisplay = try { draw(item) |