Sanity check added

This commit is contained in:
2023-10-09 06:14:06 -04:00
parent a17b9fdd13
commit 085f79cefd
@@ -62,6 +62,9 @@ public class Terrain {
Zone terrain_zone = zone; Zone terrain_zone = zone;
if (zone == null)
return ZoneManager.getSeaFloor();
if (zone.terrain != null) if (zone.terrain != null)
return zone; return zone;