Show HA profit while casting HA (#727)

* Show HA profit while casting HA

Signed-off-by: James Munson <jmunson@openpoll.io>

* Update ItemPricesOverlay.java
This commit is contained in:
James
2019-06-24 04:54:45 -07:00
committed by Kyleeld
parent f7aee1dfbf
commit 24ba855fbe

View File

@@ -94,6 +94,8 @@ class ItemPricesOverlay extends Overlay
// Tooltip action type handling // Tooltip action type handling
switch (action) switch (action)
{ {
case ITEM_USE_ON_WIDGET:
if (!menuEntry.getTarget().contains("High Level Alchemy") || !config.showAlchProfit()) return null;
case WIDGET_DEFAULT: case WIDGET_DEFAULT:
case ITEM_USE: case ITEM_USE:
case ITEM_FIRST_OPTION: case ITEM_FIRST_OPTION: