Add '(Team)' chat prefix before team chats
This commit is contained in:
parent
5218716af8
commit
e69aa47ce8
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue