forked from MagicBane/Server
Configure player cities and PLANAR
This commit is contained in:
@@ -102,6 +102,19 @@ public class Zone extends AbstractGameObject {
|
||||
this.terrain_max_y = rs.getFloat("terrain_max_y");
|
||||
this.terrain_image = rs.getInt("terrain_image");
|
||||
|
||||
if (this.guild_zone) {
|
||||
this.max_blend = 128;
|
||||
this.min_blend = 128;
|
||||
this.major_radius = (int) Enum.CityBoundsType.ZONE.halfExtents;
|
||||
this.minor_radius = (int) Enum.CityBoundsType.ZONE.halfExtents;
|
||||
this.terrain_type = "PLANAR";
|
||||
}
|
||||
|
||||
if (this.terrain_type.equals("None"))
|
||||
this.terrain = null;
|
||||
else
|
||||
this.terrain = new Terrain(this);
|
||||
|
||||
//this needs to be here specifically for new zones created after server boot (e.g. player city zones)
|
||||
|
||||
Zone parentZone = ZoneManager.getZoneByUUID(parentZoneID);
|
||||
|
||||
Reference in New Issue
Block a user