From 68519185a885af087e353f1a36d67cede4518ac7 Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 31 Aug 2012 12:42:14 +0200 Subject: [PATCH] Fix color check not replacing colors. --- src/fr/neatmonster/nocheatplus/checks/chat/Color.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/neatmonster/nocheatplus/checks/chat/Color.java b/src/fr/neatmonster/nocheatplus/checks/chat/Color.java index fb2447e8..42d8d2e7 100644 --- a/src/fr/neatmonster/nocheatplus/checks/chat/Color.java +++ b/src/fr/neatmonster/nocheatplus/checks/chat/Color.java @@ -59,7 +59,7 @@ public class Color extends Check { // Find out if we need to remove the colors or not. if (executeActionsThreadSafe(player, data.colorVL, 1D, cc.colorActions, isMainThread)) // Remove color codes. - message.replaceAll("\302\247.", "").replaceAll("\247.", ""); + return message.replaceAll("\302\247.", "").replaceAll("\247.", ""); } }