Merge pull request #8234 from trimbe/iteminfo-esc

item stats: check if GE container is hidden when detecting GE close
This commit is contained in:
Adam
2019-03-17 13:20:52 -04:00
committed by GitHub

View File

@@ -134,7 +134,8 @@ public class ItemStatPlugin extends Plugin
public void onGameTick(GameTick event)
{
if (itemInformationTitle != null && config.geStats()
&& client.getWidget(WidgetInfo.GRAND_EXCHANGE_WINDOW_CONTAINER) == null)
&& (client.getWidget(WidgetInfo.GRAND_EXCHANGE_WINDOW_CONTAINER) == null
|| client.getWidget(WidgetInfo.GRAND_EXCHANGE_WINDOW_CONTAINER).isHidden()))
{
resetGEInventory();
}