From 7337f4be1e58229597c19f703a655158501fb8da Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 11 Sep 2023 12:14:42 -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 6698d924..e693d41d 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.getWorldAltitude()); + this.throwbackInfo(playerCharacter, "Current Y : " + currentZone.getAbsY()); this.throwbackInfo(playerCharacter, "Parent Altitude : " + parentHeight); - this.throwbackInfo(playerCharacter, "Parent Y : " + parentZone.getWorldAltitude()); + this.throwbackInfo(playerCharacter, "Parent Y : " + parentZone.getAbsY()); this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight()); this.throwbackInfo(playerCharacter, "Character Height to start swimming: " + playerCharacter.centerHeight);