forked from MagicBane/Server
devcmd output updated with grid.
This commit is contained in:
@@ -43,7 +43,7 @@ public class GetHeightCmd extends AbstractDevCmd {
|
|||||||
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), currentZone);
|
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), currentZone);
|
||||||
Vector2f gridSquare = currentZone.getHeightMap().getGridSquare(zoneLoc);
|
Vector2f gridSquare = currentZone.getHeightMap().getGridSquare(zoneLoc);
|
||||||
|
|
||||||
this.throwbackInfo(playerCharacter, "Grid : " + gridSquare.toString());
|
this.throwbackInfo(playerCharacter, "Grid : " + (int) gridSquare.x + "x" + (int) gridSquare.y);
|
||||||
this.throwbackInfo(playerCharacter, "Parent : " + parentZone.getName());
|
this.throwbackInfo(playerCharacter, "Parent : " + parentZone.getName());
|
||||||
this.throwbackInfo(playerCharacter, "Altitude : " + parentHeight);
|
this.throwbackInfo(playerCharacter, "Altitude : " + parentHeight);
|
||||||
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight());
|
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight());
|
||||||
|
|||||||
Reference in New Issue
Block a user