Sanity check added
This commit is contained in:
1 parent
a17b9fdd13
commit
085f79cefd
1 file changed
+3
@@ -62,6 +62,9 @@ public class Terrain {
|
||||
|
||||
Zone terrain_zone = zone;
|
||||
|
||||
if (zone == null)
|
||||
return ZoneManager.getSeaFloor();
|
||||
|
||||
if (zone.terrain != null)
|
||||
return zone;
|
||||
|
||||
|
||||
Reference in new issue
Block a user