From 3fca78626a024ea5c2dc6702a4efcf00d0dc30ed Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Sun, 3 Jul 2022 20:34:12 +0800 Subject: [PATCH] remove remaining colour shit and changed version so cube can release and we can be all happy and dandy --- build.gradle | 2 +- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 2 +- .../java/me/clip/placeholderapi/replacer/CharsReplacer.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 309614f..1a894af 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group "me.clip" -version "2.11.2-DEV-${System.getProperty("BUILD_NUMBER")}" +version "2.11.2" description "An awesome placeholder provider!" diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index f9a83e7..a5228db 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -202,7 +202,7 @@ public final class PlaceholderAPI { } } - return Msg.color(text); + return text; } /** diff --git a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java index 0fc6f8d..afa910c 100644 --- a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java +++ b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java @@ -128,7 +128,7 @@ public final class CharsReplacer implements Replacer { continue; } - builder.append(ChatColor.translateAlternateColorCodes('&', replacement)); + builder.append(replacement); } return builder.toString();