From 8e51002e6c0fec428b06aaae62008dc1d196cd22 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 29 Nov 2023 18:34:41 +0100 Subject: [PATCH] Fix whois color code Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/WhoisCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/WhoisCommand.java b/src/de/steamwar/bungeecore/commands/WhoisCommand.java index 413fb0c..0890c05 100644 --- a/src/de/steamwar/bungeecore/commands/WhoisCommand.java +++ b/src/de/steamwar/bungeecore/commands/WhoisCommand.java @@ -87,7 +87,7 @@ public class WhoisCommand extends SWCommand { Team team = Team.get(user.getTeam()); sender.system("WHOIS_USERNAME", user.getUserName()); - sender.system("WHOIS_PREFIX", user.prefix().getChatPrefix()); + sender.system("WHOIS_PREFIX", user.prefix().getColorCode() + user.prefix().getChatPrefix()); sender.system("WHOIS_TEAM", new Message("WHOIS_TEAM_HOVER", team.getTeamName()), new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/team info " + team.getTeamKuerzel()), team.getTeamColor(), team.getTeamKuerzel(), team.getTeamName()); if (!sender.user().hasPerm(UserPerm.TEAM))