grotesqueguardians: Merge nested if statements
This commit is contained in:
@@ -99,9 +99,7 @@ class GrotesqueGuardiansOverlay extends Overlay
|
|||||||
{
|
{
|
||||||
OverlayUtil.renderPolygon(graphics, poly, color);
|
OverlayUtil.renderPolygon(graphics, poly, color);
|
||||||
}
|
}
|
||||||
if ((plugin.isInGargs()) && (plugin.isNeedingToRun()))
|
if (plugin.isInGargs() && plugin.isNeedingToRun() && plugin.getDusk() != null && plugin.getDusk().getLocalLocation() != null)
|
||||||
{
|
|
||||||
if ((plugin.getDusk() != null) && (plugin.getDusk().getLocalLocation() != null))
|
|
||||||
{
|
{
|
||||||
TextComponent textComponent = new TextComponent();
|
TextComponent textComponent = new TextComponent();
|
||||||
LocalPoint duskPoint;
|
LocalPoint duskPoint;
|
||||||
@@ -117,7 +115,6 @@ class GrotesqueGuardiansOverlay extends Overlay
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user