From 0ce9ec3ae2ecea2b3b5dbd61c27d4442dcea8ff8 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 8 Oct 2023 09:32:08 -0400 Subject: [PATCH] Output conforms with client --- src/engine/devcmd/cmds/GetHeightCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/GetHeightCmd.java b/src/engine/devcmd/cmds/GetHeightCmd.java index 88810832..1d3bc628 100644 --- a/src/engine/devcmd/cmds/GetHeightCmd.java +++ b/src/engine/devcmd/cmds/GetHeightCmd.java @@ -46,11 +46,11 @@ public class GetHeightCmd extends AbstractDevCmd { this.throwbackInfo(playerCharacter, "Global Height: " + heightmapZone.worldAltitude); this.throwbackInfo(playerCharacter, "Sea Level: " + heightmapZone.seaLevel); this.throwbackInfo(playerCharacter, "Grid : " + Math.floor(gridSquare.x) + "x" + Math.floor(gridSquare.y)); - this.throwbackInfo(playerCharacter, "Height returned: " + currentHeight); + this.throwbackInfo(playerCharacter, "Height returned: " + Math.ceil(currentHeight)); this.throwbackInfo(playerCharacter, "------------"); this.throwbackInfo(playerCharacter, "Parent : " + parentZone.zoneName); - this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight); + this.throwbackInfo(playerCharacter, "Height returned : " + Math.ceil(parentHeight)); this.throwbackInfo(playerCharacter, "------------"); }