Devcmd updated

This commit is contained in:
2023-09-12 12:38:20 -04:00
parent 83fc129d05
commit c705f45856
+4 -2
View File
@@ -41,14 +41,16 @@ public class GetHeightCmd extends AbstractDevCmd {
this.throwbackInfo(playerCharacter, "Current Zone : " + currentZone.getName());
this.throwbackInfo(playerCharacter, "Heightmap Zone : " + heightmapZone.getName());
this.throwbackInfo(playerCharacter, "Altitude : " + currentHeight);
this.throwbackInfo(playerCharacter, "Zone Altitude : " + heightmapZone.getWorldAltitude());
this.throwbackInfo(playerCharacter, "Height returned: " + currentHeight);
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), heightmapZone);
Vector2f gridSquare = heightmapZone.getHeightMap().getGridSquare(zoneLoc);
this.throwbackInfo(playerCharacter, "Grid : " + (int) gridSquare.x + "x" + (int) gridSquare.y);
this.throwbackInfo(playerCharacter, "Parent : " + parentZone.getName());
this.throwbackInfo(playerCharacter, "Altitude : " + parentHeight);
this.throwbackInfo(playerCharacter, "Zone Altitude : " + heightmapZone.getWorldAltitude());
this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight);
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight());
}