Skip to content

Commit

Permalink
Use ColoredName for /where bot (thanks AAA59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goodlyay committed Apr 29, 2024
1 parent b7c8b86 commit 981dc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCGalaxy/Commands/Information/CmdWhere.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override void Use(Player p, string message, CommandData data) {
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);
Expand Down

0 comments on commit 981dc81

Please sign in to comment.