From 029fd5e37299ae396c4fd1e07c01c580f1fdcda9 Mon Sep 17 00:00:00 2001 From: Jacky L <37294123+jkybtw@users.noreply.github.com> Date: Fri, 26 Jul 2019 20:07:45 +1000 Subject: [PATCH] Show HA profit while casting HA on items (#9070) --- .../client/plugins/itemprices/ItemPricesOverlay.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/itemprices/ItemPricesOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/itemprices/ItemPricesOverlay.java index 5682a6f2b2..b7de787305 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/itemprices/ItemPricesOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/itemprices/ItemPricesOverlay.java @@ -94,6 +94,11 @@ class ItemPricesOverlay extends Overlay // Tooltip action type handling switch (action) { + case ITEM_USE_ON_WIDGET: + if (!menuEntry.getTarget().contains("High Level Alchemy") || !config.showAlchProfit()) + { + break; + } case WIDGET_DEFAULT: case ITEM_USE: case ITEM_FIRST_OPTION: