Merge pull request #313 from UniquePassive/grounditems-toggle

Fix ground items not being toggleable
This commit is contained in:
Adam
2018-01-02 21:07:12 -05:00
committed by GitHub

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)