Add '(Team)' chat prefix before team chats

This commit is contained in:
Ashcon Partovi 2017-12-31 15:27:30 -07:00
parent 5218716af8
commit e69aa47ce8
No known key found for this signature in database
GPG Key ID: 97468B9EF2123630
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public abstract class ObservingParty extends MultiPlayerParty {
@Override
public BaseComponent getChatPrefix() {
if(chatPrefix == null) {
chatPrefix = BlankComponent.INSTANCE;
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 = BlankComponent.INSTANCE;
this.chatPrefix = new Component("(Team) ", ChatUtils.convert(getColor()));
}
return chatPrefix;
}