Alliance chat is now white, with ally-colour names.
This commit is contained in:
parent
46abcadf93
commit
f4d56d4796
@ -65,7 +65,7 @@ public class Conf {
|
||||
public static boolean chatTagPadAfter = true;
|
||||
public static String chatTagFormat = "%s"+ChatColor.WHITE;
|
||||
public static String factionChatFormat = "%s"+ChatColor.WHITE+" %s";
|
||||
public static String allianceChatFormat = "%s"+colorAlly+" %s";
|
||||
public static String allianceChatFormat = "%s"+ChatColor.WHITE+" %s";
|
||||
|
||||
public static boolean allowNoSlashCommand = true;
|
||||
|
||||
|
@ -57,8 +57,8 @@ public class FactionsChatEarlyListener extends PlayerListener{
|
||||
return;
|
||||
|
||||
} else if (me.getChatMode() == ChatMode.ALLIANCE ) {
|
||||
String message = String.format(Conf.allianceChatFormat, me.getNameAndRelevant(me), msg);
|
||||
Faction myFaction = me.getFaction();
|
||||
String message = String.format(Conf.allianceChatFormat, Conf.colorAlly+"["+myFaction.getTag()+"] "+me.getName(), msg);
|
||||
|
||||
//Send message to our own faction
|
||||
myFaction.sendMessage(message);
|
||||
|
Loading…
Reference in New Issue
Block a user