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