fightcave: MErge nested if statements
This commit is contained in:
@@ -171,16 +171,13 @@ public class FightCavePlugin extends Plugin
|
||||
{
|
||||
updateConfig();
|
||||
|
||||
if (client.getGameState() == GameState.LOGGED_IN)
|
||||
{
|
||||
if (regionCheck())
|
||||
if (client.getGameState() == GameState.LOGGED_IN && regionCheck())
|
||||
{
|
||||
validRegion = true;
|
||||
overlayManager.add(waveOverlay);
|
||||
overlayManager.add(fightCaveOverlay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void shutDown()
|
||||
|
||||
Reference in New Issue
Block a user