diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-19 12:57:46 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-19 12:57:46 +0100 |
commit | 14ce0760dc3faf7ec65facc93019c36c0b84d992 (patch) | |
tree | 9e5475af694304a3e66382ac7ab835d94f237e9f /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | bd0283998631bac9c433de6ace58e71d32a2123d (diff) | |
download | skyhanni-14ce0760dc3faf7ec65facc93019c36c0b84d992.tar.gz skyhanni-14ce0760dc3faf7ec65facc93019c36c0b84d992.tar.bz2 skyhanni-14ce0760dc3faf7ec65facc93019c36c0b84d992.zip |
Fixed Estimated Item Value getting shown in stats breakdown menu.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt | 6 |
1 files changed, 6 insertions, 0 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 2565b2222..a4fe36fdc 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 @@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.events.RenderItemTooltipEvent import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.ItemUtils.getInternalNameOrNull import at.hannibal2.skyhanni.utils.ItemUtils.getLore +import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.KeyboardManager.isKeyHeld import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.addAsSingletonList @@ -138,6 +139,11 @@ object EstimatedItemValue { } } + // Stats Breakdown + val name = item.name ?: return + if (name == "§6☘ Category: Item Ability (Passive)") return + if (name.contains("Salesperson")) return + val newDisplay = try { draw(item) } catch (e: Exception) { |