From 6ef826c5ec40225fb50908efc1220d15bd067e43 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 12 Jun 2018 15:54:59 +1000 Subject: [PATCH] fix chat colour issue --- MCGalaxy/Player/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCGalaxy/Player/Player.cs b/MCGalaxy/Player/Player.cs index afb287bc7..74e29bc3c 100644 --- a/MCGalaxy/Player/Player.cs +++ b/MCGalaxy/Player/Player.cs @@ -116,7 +116,7 @@ namespace MCGalaxy { public void SetPrefix() { prefix = Game.Referee ? "&2[Ref] " : ""; - prefix += GroupPrefix; + if (GroupPrefix.Length > 0) { prefix += GroupPrefix + color; } Team team = Game.Team; prefix += team != null ? "<" + team.Color + team.Name + color + "> " : "";