Fix startup error
This commit is contained in:
parent
3fb325b0e1
commit
807a163256
@ -2445,7 +2445,7 @@ public class DisguiseUtilities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String translateAlternateColorCodes(String string) {
|
public static String translateAlternateColorCodes(String string) {
|
||||||
string = DisguiseUtilities.translateAlternateColorCodes(string);
|
string = ChatColor.translateAlternateColorCodes('&', string);
|
||||||
|
|
||||||
if (NmsVersion.v1_16.isSupported()) {
|
if (NmsVersion.v1_16.isSupported()) {
|
||||||
return string.replaceAll("&(?=#[0-9a-fA-F]{6})", ChatColor.COLOR_CHAR + "");
|
return string.replaceAll("&(?=#[0-9a-fA-F]{6})", ChatColor.COLOR_CHAR + "");
|
||||||
|
Loading…
Reference in New Issue
Block a user