Error trap

This commit is contained in:
2023-10-09 04:11:55 -04:00
parent 4bbbbf9fa2
commit d6d4008348
+6 -1
View File
@@ -237,7 +237,12 @@ public class Zone extends AbstractGameObject {
}
this.setBounds();
this.worldAltitude = ZoneManager.caclulateWorldAltitude(this);
try {
this.worldAltitude = ZoneManager.caclulateWorldAltitude(this);
} catch (Exception e) {
throw new RuntimeException(e);
}
setSeaLevel();
}