diff --git a/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java b/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java index 7c44b267..5d653dc8 100644 --- a/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java +++ b/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java @@ -1,5 +1,6 @@ package net.Indyuce.mmocore.comp.placeholder; +import net.asangarin.hexcolors.ColorParse; import org.bukkit.OfflinePlayer; import me.clip.placeholderapi.PlaceholderAPI; @@ -13,6 +14,6 @@ public class PlaceholderAPIParser implements PlaceholderParser { @Override public String parse(OfflinePlayer player, String string) { - return PlaceholderAPI.setPlaceholders(player, string.replace("%player%", player.getName())); + return new ColorParse('&', PlaceholderAPI.setPlaceholders(player, string.replace("%player%", player.getName()))).toChatColor(); } }