mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Use ColoredName for /where bot (thanks AAA59)
This commit is contained in:
parent
b7c8b86e26
commit
981dc8186b
@ -32,7 +32,7 @@ namespace MCGalaxy.Commands.Info
|
||||
string botName = message.SplitSpaces(2)[1];
|
||||
target = Matcher.FindBots(p, botName);
|
||||
if (target == null) return;
|
||||
targetName = "Bot " + ((PlayerBot)target).DisplayName;
|
||||
targetName = "Bot " + ((PlayerBot)target).ColoredName;
|
||||
} else {
|
||||
if (message.Length == 0) message = p.name;
|
||||
target = PlayerInfo.FindMatches(p, message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user