forked from MagicBane/Server
Dev command updated
This commit is contained in:
@@ -60,7 +60,6 @@ public class Zone extends AbstractGameObject {
|
||||
public float seaLevel = 0f;
|
||||
public static final Set<Mob> respawnQue = Collections.newSetFromMap(new ConcurrentHashMap<>());
|
||||
public static long lastRespawn = 0;
|
||||
public Bounds blendBounds;
|
||||
public float major_radius;
|
||||
public float minor_radius;
|
||||
public float min_blend;
|
||||
@@ -193,17 +192,6 @@ public class Zone extends AbstractGameObject {
|
||||
else
|
||||
bounds.setBounds(new Vector2f(this.absX, this.absZ), new Vector2f(Enum.CityBoundsType.ZONE.halfExtents, Enum.CityBoundsType.ZONE.halfExtents), 0.0f);
|
||||
|
||||
Terrain terrain = this.getHeightMap();
|
||||
|
||||
// Set heightmap blending bounds
|
||||
|
||||
if (terrain == null) {
|
||||
this.blendBounds = bounds;
|
||||
} else {
|
||||
this.blendBounds = Bounds.borrow();
|
||||
this.blendBounds.setBounds(new Vector2f(this.absX, this.absZ), bounds.getHalfExtents().subtract(terrain.zone_minBlend, terrain.zone_minBlend), 0.0f);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setParent(final Zone value) {
|
||||
|
||||
Reference in New Issue
Block a user