Format prefixes and suffixes properly in Chat

Related: #1792
This commit is contained in:
md678685 2018-01-23 08:32:55 +00:00
parent ba35efd021
commit 8e61753894
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer {
String world = user.getWorld().getName();
Player player = user.getBase();
String prefix = ess.getPermissionsHandler().getPrefix(player);
String suffix = ess.getPermissionsHandler().getSuffix(player);
String prefix = FormatUtil.replaceFormat(ess.getPermissionsHandler().getPrefix(player));
String suffix = FormatUtil.replaceFormat(ess.getPermissionsHandler().getSuffix(player));
Team team = player.getScoreboard().getPlayerTeam(player);
String format = ess.getSettings().getChatFormat(group);