Show HA profit while casting HA on items (#9070)

This commit is contained in:
Jacky L
2019-07-26 20:07:45 +10:00
committed by Tomas Slusny
parent 7b7ac8ff93
commit 029fd5e372

View File

@@ -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: