From c2dd809a5b1f135a5f7a65fc4cb7a51af33adaba Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 17 Dec 2023 20:09:09 +0100 Subject: Fixed Estimated Item Value error in Jerry's Island Deliveries menu. --- .../hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') 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) -- cgit