forked from MagicBane/Server
DevCmd update.
This commit is contained in:
@@ -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