Actually set factionless prefix in chat. Fixes #979

This commit is contained in:
Trent Hensler 2018-01-04 00:32:25 -08:00
parent c3e1e6547a
commit 8fee985e99

View File

@ -404,7 +404,7 @@ public abstract class MemoryFPlayer implements FPlayer {
// These are injected into the format of global chat messages.
public String getChatTag() {
return this.hasFaction() ? String.format(Conf.chatTagFormat, this.role.getPrefix() + this.getTag()) : "";
return this.hasFaction() ? String.format(Conf.chatTagFormat, this.role.getPrefix() + this.getTag()) : TL.NOFACTION_PREFIX.toString();
}
// Colored Chat Tag