Refactor PLAYER_INTERFACE_CONTAINER_OPENED and add documentation.

This commit is contained in:
Ganom
2019-07-25 18:14:31 -04:00
parent ebc8294590
commit c7d6c6ce42
2 changed files with 19 additions and 6 deletions

View File

@@ -98,7 +98,7 @@ class InventoryViewerOverlay extends Overlay
public Dimension render(Graphics2D graphics)
{
if (plugin.isHideWhenInvOpen()
&& client.getVar(VarClientInt.PLAYER_INVENTORY_OPENED) == 3)
&& client.getVar(VarClientInt.PLAYER_INTERFACE_CONTAINER_OPENED) == 3)
{
return null;
}