mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Remove leftover debug chat formatting for PlaceholderAPI (#1031)
## Fixes * Removes unnecessary leftover chat formatting from copy paste that I just never noticed
This commit is contained in:
parent
a8a8daa6d0
commit
e372c7dbae
1 changed files with 2 additions and 3 deletions
|
@ -45,11 +45,10 @@ public class PlaceholderAPIHook extends PlaceholderExpansion {
|
|||
c = bPlayer.getElements().get(0).getColor();
|
||||
e = bPlayer.getElements().get(0).getName();
|
||||
}
|
||||
final String element = ConfigManager.languageConfig.get().getString("Chat.Prefixes." + e);
|
||||
if (params.equals("element")) {
|
||||
return c + element + ChatColor.RESET;
|
||||
return e;
|
||||
} else if (params.equals("elementcolor")) {
|
||||
return c + "";
|
||||
return c.toString();
|
||||
}
|
||||
} else if (params.equals("elements")) {
|
||||
return bPlayer.getElements().stream().map(item -> item.getColor() + item.getName()).collect(joining(" "));
|
||||
|
|
Loading…
Reference in a new issue