From 54311121868f1a5936c1e206a33783632d0ead3b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 11 Sep 2023 11:35:53 -0400 Subject: [PATCH] DevCmd update. --- 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 66a07ca8..69872f7b 100644 --- a/src/engine/devcmd/cmds/GetHeightCmd.java +++ b/src/engine/devcmd/cmds/GetHeightCmd.java @@ -38,9 +38,9 @@ public class GetHeightCmd extends AbstractDevCmd { float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc()); this.throwbackInfo(playerCharacter, "Current Altitude : " + currentHeight); - this.throwbackInfo(playerCharacter, "Current Y : " + currentZone.getYCoord()); + this.throwbackInfo(playerCharacter, "Current Y : " + currentZone.getWorldAltitude()); this.throwbackInfo(playerCharacter, "Parent Altitude : " + parentHeight); - this.throwbackInfo(playerCharacter, "Parent Y : " + parentZone.getYCoord()); + this.throwbackInfo(playerCharacter, "Parent Y : " + parentZone.getWorldAltitude()); this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight()); this.throwbackInfo(playerCharacter, "Character Height to start swimming: " + playerCharacter.centerHeight);