mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
commit
b99f40c0e3
2 changed files with 1 additions and 8 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() {
|
||||
|
|
|
@ -44,12 +44,6 @@ public class ConfigManager {
|
|||
|
||||
config.addDefault("Chat.Enable", true);
|
||||
config.addDefault("Chat.Format", "<name>: <message>");
|
||||
config.addDefault("Chat.Prefixes.Air", "[Airbender]");
|
||||
config.addDefault("Chat.Prefixes.Water", "[Waterbender]");
|
||||
config.addDefault("Chat.Prefixes.Earth", "[Earthbender]");
|
||||
config.addDefault("Chat.Prefixes.Fire", "[Firebender]");
|
||||
config.addDefault("Chat.Prefixes.Chi", "[Chiblocker]");
|
||||
config.addDefault("Chat.Prefixes.Avatar", "[Avatar]");
|
||||
config.addDefault("Chat.Colors.Avatar", "DARK_PURPLE");
|
||||
config.addDefault("Chat.Colors.Air", "GRAY");
|
||||
config.addDefault("Chat.Colors.AirSub", "DARK_GRAY");
|
||||
|
|
Loading…
Reference in a new issue