"/move X Y Z" now moves the player to the center of the block first

This commit is contained in:
BruceChen 2022-07-25 18:11:10 +08:00
parent a18b526a41
commit 94fd8b118d
3 changed files with 17 additions and 5 deletions

View file

@ -307,7 +307,7 @@ namespace MinecraftClient.Mapping
/// <returns>String representation of the location</returns>
public override string ToString()
{
return String.Format("X:{0} Y:{1} Z:{2}", X, Y, Z);
return String.Format("X:{0:0.00} Y:{1:0.00} Z:{2:0.00}", X, Y, Z);
}
}
}