mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
Misconfigured planet crash fix
This commit is contained in:
parent
931f5fd8ec
commit
7dedf6c488
@ -809,7 +809,9 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
|
||||
state.otherCamPos = null;
|
||||
//announce new sector
|
||||
newPresets.add(state.planet.sectors.get(state.planet.startSector));
|
||||
if(!state.planet.sectors.isEmpty()){
|
||||
newPresets.add(state.planet.sectors.get(state.planet.startSector));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user