property conforms to JSON

This commit is contained in:
2023-10-12 06:19:22 -04:00
parent 9e96add299
commit 1b2c218e83
7 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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));
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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());