Fixed alliance chat still being purple.

This commit is contained in:
Harry Jeffery 2011-09-24 21:22:23 +01:00
parent f4d56d4796
commit b1ee58a2b6
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ public class FactionsChatEarlyListener extends PlayerListener{
} else if (me.getChatMode() == ChatMode.ALLIANCE ) {
Faction myFaction = me.getFaction();
String message = String.format(Conf.allianceChatFormat, Conf.colorAlly+"["+myFaction.getTag()+"] "+me.getName(), msg);
String factionAndName = ChatColor.stripColor(me.getNameAndTag());
String message = Conf.colorAlly+factionAndName+ChatColor.WHITE+" "+msg;
//Send message to our own faction
myFaction.sendMessage(message);