Fix ground items not being toggleable

This commit is contained in:
UniquePassive
2018-01-03 01:05:52 +01:00
parent 13d656221c
commit b93927f4e6

View File

@@ -102,6 +102,11 @@ public class GroundItemsOverlay extends Overlay
@Override
public Dimension render(Graphics2D graphics, java.awt.Point parent)
{
if (!config.enabled())
{
return null;
}
Widget viewport = client.getViewportWidget();
if (viewport != null)