Browse Source

Error trap

combat-2
MagicBot 1 year ago
parent
commit
d6d4008348
  1. 7
      src/engine/objects/Zone.java

7
src/engine/objects/Zone.java

@ -237,7 +237,12 @@ public class Zone extends AbstractGameObject { @@ -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();
}

Loading…
Cancel
Save