fix chat colour issue

This commit is contained in:
UnknownShadow200 2018-06-12 15:54:59 +10:00
parent 9055b26afd
commit 6ef826c5ec

View File

@ -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 + "> " : "";