grotesqueguardians: Remove redundant initializers

This commit is contained in:
sdburns1998
2019-07-07 05:16:26 +02:00
parent 77ef70940b
commit 065e353e91
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ class GrotesqueGuardiansOverlay extends Overlay
// TODO: Awaiting GraphicsObjectDespawn event to be tracked to make this more efficient.
for (GraphicsObject graphicsObject : client.getGraphicsObjects())
{
Color color = null;
Color color;
if (graphicsObject.getId() >= GROTESQUE_GUARDIANS_LIGHTNING_START && graphicsObject.getId() <= GROTESQUE_GUARDIANS_LIGHTNING_END)
{

View File

@@ -71,7 +71,7 @@ public class GrotesqueGuardiansPrayerOverlay extends Overlay
if ((plugin.isInGargs()) && (plugin.getPrayAgainst() != null) && (plugin.getDusk() != null))
{
DuskAttack attack = plugin.getPrayAgainst();
BufferedImage prayerImage = null;
BufferedImage prayerImage;
prayerImage = getPrayerImage(attack);
imagePanelComponent.setBackgroundColor(client
.isPrayerActive(attack.getPrayer()) ? ComponentConstants.STANDARD_BACKGROUND_COLOR : NOT_ACTIVATED_BACKGROUND_COLOR);