property conforms to JSON
This commit is contained in:
@@ -44,7 +44,7 @@ public class GetHeightCmd extends AbstractDevCmd {
|
||||
|
||||
this.throwbackInfo(playerCharacter, "Current Zone : " + currentZone.zoneName);
|
||||
this.throwbackInfo(playerCharacter, "Heightmap Zone : " + heightmapZone.zoneName);
|
||||
this.throwbackInfo(playerCharacter, "Global Height: " + heightmapZone.worldAltitude);
|
||||
this.throwbackInfo(playerCharacter, "Global Height: " + heightmapZone.global_height);
|
||||
this.throwbackInfo(playerCharacter, "Sea Level: " + heightmapZone.seaLevel);
|
||||
this.throwbackInfo(playerCharacter, "Grid : " + Math.floor(gridSquare.x) + "x" + Math.floor(gridSquare.y));
|
||||
this.throwbackInfo(playerCharacter, "Blend: " + heightmapZone.terrain.terrainBlend(zoneOffset));
|
||||
|
||||
@@ -26,7 +26,7 @@ public class SeaAuditCmd extends AbstractDevCmd {
|
||||
AbstractGameObject target) {
|
||||
|
||||
for (Zone zone : ZoneManager.getAllZones())
|
||||
if (zone.seaLevel > zone.worldAltitude)
|
||||
if (zone.seaLevel > zone.global_height)
|
||||
this.throwbackInfo(playerCharacter, zone.getObjectUUID() + zone.zoneName);
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ public class ZoneInfoCmd extends AbstractDevCmd {
|
||||
output += newline;
|
||||
output += "Sea Level = " + zone.seaLevel;
|
||||
output += newline;
|
||||
output += "World Altitude = " + zone.worldAltitude;
|
||||
output += "World Altitude = " + zone.global_height;
|
||||
throwbackInfo(player, output);
|
||||
|
||||
City city = ZoneManager.getCityAtLocation(player.getLoc());
|
||||
|
||||
Reference in New Issue
Block a user