1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 03:03:02 +01:00

Changed the color of party leader names in Party chat

This commit is contained in:
TfT_02
2013-08-17 13:53:46 +02:00
parent 1f712063bf
commit fe93be66ad
4 changed files with 11 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ public abstract class ChatManager {
protected boolean useDisplayNames;
protected String chatPrefix;
protected String senderName;
protected String displayName;
protected String message;
@@ -27,7 +28,8 @@ public abstract class ChatManager {
return;
}
displayName = useDisplayNames ? event.getDisplayName() : event.getSender();
senderName = event.getSender();
displayName = useDisplayNames ? event.getDisplayName() : senderName;
message = LocaleLoader.formatString(chatPrefix, displayName) + " " + event.getMessage();
sendMessage();