mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Fix Custom Element prefix
This commit is contained in:
parent
793be9ee11
commit
ad6f4bc2b0
1 changed files with 1 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue