From 8b4a2517c082347de53da5d8b558807f49e3bbc8 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Wed, 29 Jul 2020 17:09:58 -0400 Subject: [PATCH] updated char replacer to colorize returned replacements as well. --- .../java/me/clip/placeholderapi/replacer/CharsReplacer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java index 197fb19..5b2c2a4 100644 --- a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java +++ b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java @@ -191,7 +191,7 @@ public final class CharsReplacer implements Replacer continue; } - builder.append(replacement); + builder.append(ChatColor.translateAlternateColorCodes('&', replacement)); } return builder.toString();