Fix ground items not being toggleable
This commit is contained in:
@@ -102,6 +102,11 @@ public class GroundItemsOverlay extends Overlay
|
|||||||
@Override
|
@Override
|
||||||
public Dimension render(Graphics2D graphics, java.awt.Point parent)
|
public Dimension render(Graphics2D graphics, java.awt.Point parent)
|
||||||
{
|
{
|
||||||
|
if (!config.enabled())
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
Widget viewport = client.getViewportWidget();
|
Widget viewport = client.getViewportWidget();
|
||||||
|
|
||||||
if (viewport != null)
|
if (viewport != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user