|
|
|
@ -84,8 +84,6 @@ public class Zone extends AbstractGameObject {
@@ -84,8 +84,6 @@ public class Zone extends AbstractGameObject {
|
|
|
|
|
this.minLvl = rs.getInt("minLvl"); |
|
|
|
|
this.maxLvl = rs.getInt("maxLvl"); |
|
|
|
|
|
|
|
|
|
this.setBounds(); |
|
|
|
|
|
|
|
|
|
//this needs to be here specifically for new zones created after server boot (e.g. player city zones)
|
|
|
|
|
|
|
|
|
|
Zone parentZone = ZoneManager.getZoneByUUID(parentZoneID); |
|
|
|
@ -247,6 +245,7 @@ public class Zone extends AbstractGameObject {
@@ -247,6 +245,7 @@ public class Zone extends AbstractGameObject {
|
|
|
|
|
this.absY = MBServerStatics.SEA_FLOOR_ALTITUDE; |
|
|
|
|
this.absZ = this.zCoord; |
|
|
|
|
this.seaLevel = 0; |
|
|
|
|
this.setBounds(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -259,6 +258,7 @@ public class Zone extends AbstractGameObject {
@@ -259,6 +258,7 @@ public class Zone extends AbstractGameObject {
|
|
|
|
|
this.maxLvl = this.parent.maxLvl; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.setBounds(); |
|
|
|
|
this.worldAltitude = ZoneManager.caclulateWorldAltitude(this); |
|
|
|
|
|
|
|
|
|
if (this.getParent() == null) { |
|
|
|
|