Browse Source

Error trap

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
d6d4008348
  1. 5
      src/engine/objects/Zone.java

5
src/engine/objects/Zone.java

@ -237,7 +237,12 @@ public class Zone extends AbstractGameObject {
} }
this.setBounds(); this.setBounds();
try {
this.worldAltitude = ZoneManager.caclulateWorldAltitude(this); this.worldAltitude = ZoneManager.caclulateWorldAltitude(this);
} catch (Exception e) {
throw new RuntimeException(e);
}
setSeaLevel(); setSeaLevel();
} }

Loading…
Cancel
Save