From 13d78d9d2e2831a0455b66836695eaf307c4e803 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 26 Sep 2017 08:13:07 +1000 Subject: [PATCH] Use player's coloured name for /location --- MCGalaxy/Commands/Moderation/CmdLocation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Commands/Moderation/CmdLocation.cs b/MCGalaxy/Commands/Moderation/CmdLocation.cs index ac0137c80..a4705064f 100644 --- a/MCGalaxy/Commands/Moderation/CmdLocation.cs +++ b/MCGalaxy/Commands/Moderation/CmdLocation.cs @@ -50,7 +50,7 @@ namespace MCGalaxy.Commands.Moderation { country = client.DownloadString("http://ipinfo.io/" + ip + "/country"); country = country.Replace("\n", ""); } - Player.Message(p, "The IP of &a" + target + " %Shas been traced to: &b" + country); + Player.Message(p, "The IP of {0} %Shas been traced to: &b" + country, PlayerInfo.GetColoredName(p, target)); } public override void Help(Player p) {