Change Team prefix color to team color and change chat color for team

chat to white
This commit is contained in:
cswhite2000 2018-01-13 23:58:59 -08:00
parent 2d86703967
commit de304a7339
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ public class ChannelMatchModule extends MatchModule implements Listener {
if(party instanceof MultiPlayerParty) {
logger.fine("Creating channel for " + party);
String format = ComponentRenderers.toLegacyText(party.getChatPrefix(), NullCommandSender.INSTANCE) + "{1}§f: §7{3}";
String format = ComponentRenderers.toLegacyText(party.getChatPrefix(), NullCommandSender.INSTANCE) + "{1}§f: {3}";
PartyChannel channel;
if (getMatch().getPluginManager().getPlugin("ChatModerator") == null) {

View File

@ -75,7 +75,7 @@ public abstract class ObservingParty extends MultiPlayerParty {
@Override
public BaseComponent getChatPrefix() {
if(chatPrefix == null) {
chatPrefix = new Component("(Team) ", ChatColor.GRAY);
chatPrefix = new Component("(Team) ", getBungeeColor());
}
return chatPrefix;
}

View File

@ -257,7 +257,7 @@ public class Team extends MultiPlayerParty implements Competitor, SluggedFeature
@Override
public BaseComponent getChatPrefix() {
if(chatPrefix == null) {
this.chatPrefix = new Component("(Team) ", ChatColor.GRAY);
this.chatPrefix = new Component("(Team) ", ChatUtils.convert(getColor()));
}
return chatPrefix;
}