Merge pull request #2583 from safinn/shopExamine

Show GE and high alch prices for shop items that are examined
This commit is contained in:
Adam
2018-05-11 17:07:46 -04:00
committed by GitHub

View File

@@ -287,6 +287,16 @@ public class ExaminePlugin extends Plugin
itemId = widgetItem.getItemId();
}
}
else if (WidgetInfo.SHOP_ITEMS_CONTAINER.getGroupId() == widgetGroup)
{
Widget[] children = widget.getDynamicChildren();
if (pendingExamine.getActionParam() < children.length)
{
Widget widgetItem = children[pendingExamine.getActionParam()];
quantity = 1;
itemId = widgetItem.getItemId();
}
}
}
if (itemId == -1)