forked from MagicBane/Server
Error trap
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user