From acc41bf07a7693d3393a89759b043e306846324d Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Fri, 2 Mar 2018 10:54:42 -0800 Subject: [PATCH] Call method, not local, for role. Fixes #1059 --- .../com/massivecraft/factions/zcore/persist/MemoryFPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java index 37013fb2..cfa74bb7 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java @@ -412,7 +412,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()) : TL.NOFACTION_PREFIX.toString(); + return this.hasFaction() ? String.format(Conf.chatTagFormat, this.getRole().getPrefix() + this.getTag()) : TL.NOFACTION_PREFIX.toString(); } // Colored Chat Tag