mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Use player's coloured name for /location
This commit is contained in:
parent
26d3137877
commit
13d78d9d2e
@ -50,7 +50,7 @@ namespace MCGalaxy.Commands.Moderation {
|
|||||||
country = client.DownloadString("http://ipinfo.io/" + ip + "/country");
|
country = client.DownloadString("http://ipinfo.io/" + ip + "/country");
|
||||||
country = country.Replace("\n", "");
|
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) {
|
public override void Help(Player p) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user