DevCmd update.
This commit is contained in:
1 parent
5431112186
commit
d84f223b9d
1 file changed
+1
-1
@@ -32,7 +32,7 @@ public class GetHeightCmd extends AbstractDevCmd {
|
||||
Zone parentZone;
|
||||
|
||||
currentZone = ZoneManager.findSmallestZone(playerCharacter.getLoc());
|
||||
parentZone = currentZone.getParent();
|
||||
parentZone = HeightMap.getNextZoneWithTerrain(currentZone.getParent());
|
||||
|
||||
float currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc());
|
||||
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc());
|
||||
|
||||
Reference in new issue
Block a user