Fix hex code colors not supporting uppercase characters.

Bump XSeries library to 8.6.1.
Bump version to 2.8.1.
This commit is contained in:
Thijs Alders committed 2022-02-16 18:24:59 +01:00
1 parent 21950514a8
commit 2e6d4b02c3
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>7.9.1.1</version>
<version>8.6.1</version>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
@@ -4,7 +4,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ChatColorUtil {
private static final Pattern HEX_PATTERN = Pattern.compile("&#(\\w{5}[0-9a-f])");
private static final Pattern HEX_PATTERN = Pattern.compile("&#(\\w{5}[0-9a-f])", Pattern.CASE_INSENSITIVE);
public static String translate(String textToTranslate) {
if (VersionUtil.isHexAvailable()) {
+1 -1
View File
@@ -11,7 +11,7 @@
<properties>
<revision>${craftingstore-version}-RELEASE</revision>
<craftingstore-version>2.8.0</craftingstore-version>
<craftingstore-version>2.8.1</craftingstore-version>
</properties>
<build>