Fix Custom Element prefix

This commit is contained in:
jedk1 2016-04-09 23:36:58 +01:00
parent 793be9ee11
commit ad6f4bc2b0

View file

@ -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() {