From ad6f4bc2b011ae0cddfaedc57e6b93db37315a72 Mon Sep 17 00:00:00 2001 From: jedk1 Date: Sat, 9 Apr 2016 23:36:58 +0100 Subject: [PATCH] Fix Custom Element prefix --- src/com/projectkorra/projectkorra/Element.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/projectkorra/projectkorra/Element.java b/src/com/projectkorra/projectkorra/Element.java index ed95e5d1..a017f5a1 100644 --- a/src/com/projectkorra/projectkorra/Element.java +++ b/src/com/projectkorra/projectkorra/Element.java @@ -102,8 +102,7 @@ public class Element { } public String getPrefix() { - String prefix = this.plugin.getName().equalsIgnoreCase("ProjectKorra") ? this.getColor() + ConfigManager.languageConfig.get().getString("Chat.Prefixes." + name) + " " : ChatColor.WHITE + "[Nonbender] "; - return prefix; + return getColor() + "[" + getName() + (getType() != null ? getType().getBender() : "") + "] "; } public ChatColor getColor() {