Call method, not local, for role. Fixes #1059

This commit is contained in:
Trent Hensler 2018-03-02 10:54:42 -08:00
parent 634917d4c4
commit acc41bf07a

View File

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