Better sector null checks

This commit is contained in:
Anuken
2020-03-01 12:15:38 -05:00
parent 51cec64118
commit 3ed5282e14
7 changed files with 14 additions and 12 deletions

View File

@@ -497,7 +497,7 @@ public class HudFragment extends Fragment{
}
private boolean inLaunchWave(){
return state.isCampaign() &&
return state.hasSector() &&
state.getSector().metCondition() &&
!net.client() &&
state.wave % state.getSector().launchPeriod == 0 && !spawner.isSpawning();