mirror of
https://github.com/aikar/commands.git
synced 2026-06-02 23:32:17 +00:00
fix message color formatting
This commit is contained in:
@@ -44,7 +44,7 @@ final class ACFPatterns {
|
||||
public static final Pattern VALID_NAME_PATTERN = Pattern.compile("^[a-zA-Z0-9_-]{2,16}$");
|
||||
public static final Pattern NON_PRINTABLE_CHARACTERS = Pattern.compile("[^\\x20-\\x7F]");
|
||||
public static final Pattern EQUALS = Pattern.compile("=");
|
||||
public static final Pattern FORMATTER = Pattern.compile("<(?<color>c\\d)>(?<msg>.+?)</\\1>", Pattern.CASE_INSENSITIVE);
|
||||
public static final Pattern FORMATTER = Pattern.compile("<c(?<color>\\d+)>(?<msg>.+?)</c\\1>", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user