mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 08:40:01 +01:00
Fix color check not replacing colors.
This commit is contained in:
parent
b0fc6a9888
commit
68519185a8
@ -59,7 +59,7 @@ public class Color extends Check {
|
|||||||
// Find out if we need to remove the colors or not.
|
// Find out if we need to remove the colors or not.
|
||||||
if (executeActionsThreadSafe(player, data.colorVL, 1D, cc.colorActions, isMainThread))
|
if (executeActionsThreadSafe(player, data.colorVL, 1D, cc.colorActions, isMainThread))
|
||||||
// Remove color codes.
|
// Remove color codes.
|
||||||
message.replaceAll("\302\247.", "").replaceAll("\247.", "");
|
return message.replaceAll("\302\247.", "").replaceAll("\247.", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user