mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix Entity location Z not correctly shown (#1370)
This commit is contained in:
parent
1c0826a045
commit
372c59cdbc
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ namespace MinecraftClient.Commands
|
|||
else if (health < 15)
|
||||
color = "§e"; // Yellow
|
||||
|
||||
string location = String.Format("X:{0}, Y:{1}, Z:{2}", Math.Round(entity.Location.X, 2), Math.Round(entity.Location.Y, 2), Math.Round(entity.Location.Y, 2));
|
||||
string location = String.Format("X:{0}, Y:{1}, Z:{2}", Math.Round(entity.Location.X, 2), Math.Round(entity.Location.Y, 2), Math.Round(entity.Location.Z, 2));
|
||||
string done = Translations.Replace("([cmd.entityCmd.entity]): {0}\n [MCC] Type: {1}", id, type);
|
||||
if (!String.IsNullOrEmpty(nickname))
|
||||
done += Translations.Replace("\n [MCC] ([cmd.entityCmd.nickname]): {0}", nickname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue