Fixed name mentioning

This commit is contained in:
Norbi Peti 2015-12-05 23:32:26 +01:00
parent 1c877503c4
commit 4c85a53553
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -133,7 +133,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
(float) NotificationPitch); // 2015.08.14. (float) NotificationPitch); // 2015.08.14.
MaybeOfflinePlayer mp = MaybeOfflinePlayer.AddPlayerIfNeeded(p MaybeOfflinePlayer mp = MaybeOfflinePlayer.AddPlayerIfNeeded(p
.getUniqueId()); // 2015.08.17. .getUniqueId()); // 2015.08.17.
color = String.format("%x", mp.FlairColor); color = String.format("§%x", mp.FlairColor);
} }
message = message.replace(p.getName(), color + p.getName() message = message.replace(p.getName(), color + p.getName()