From 15a79ee9bd608e41d78c457220a96c3039497860 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 11 Sep 2023 14:37:16 -0400 Subject: [PATCH] devcmd output updated with grid. --- src/engine/devcmd/cmds/GetHeightCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/devcmd/cmds/GetHeightCmd.java b/src/engine/devcmd/cmds/GetHeightCmd.java index f7cbca51..ef4a9dd4 100644 --- a/src/engine/devcmd/cmds/GetHeightCmd.java +++ b/src/engine/devcmd/cmds/GetHeightCmd.java @@ -43,7 +43,7 @@ public class GetHeightCmd extends AbstractDevCmd { Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), currentZone); Vector2f gridSquare = currentZone.getHeightMap().getGridSquare(zoneLoc); - this.throwbackInfo(playerCharacter, "Grid : " + gridSquare.toString()); + 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, "Character Height: " + playerCharacter.getCharacterHeight());