mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Fix prefixes/suffixes not stripping hex format
This commit is contained in:
parent
3bc58264ea
commit
b516db669c
@ -44,7 +44,7 @@ public final class FormatUtil {
|
|||||||
if (input == null) {
|
if (input == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return stripColor(input, REPLACE_ALL_PATTERN);
|
return stripColor(stripColor(input, REPLACE_ALL_PATTERN), REPLACE_ALL_RGB_PATTERN);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String stripAnsi(final String input) {
|
public static String stripAnsi(final String input) {
|
||||||
|
Loading…
Reference in New Issue
Block a user