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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user