Dev command updated

This commit is contained in:
2023-10-08 09:22:53 -04:00
parent 0d75e6db9b
commit 5279fa8fbe
3 changed files with 3 additions and 36 deletions
-12
View File
@@ -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) {