chore: pre-commit changes [skip ci]

This commit is contained in:
github-actions[bot] 2024-11-21 04:37:55 +00:00
parent 166d48bb90
commit 60085d2c77

View File

@ -64,7 +64,11 @@ public class Lang {
}
public static String convertColors(String s) {
return s.replaceAll("&#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])", "&x&$1&$2&$3&$4&$5&$6").replaceAll("&([0-9a-fA-Fdwrk-ox#])", "\u00A7$1");
return s
.replaceAll(
"&#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])",
"&x&$1&$2&$3&$4&$5&$6")
.replaceAll("&([0-9a-fA-Fdwrk-ox#])", "\u00A7$1");
}
public static String translateInsertVariables(String s, Object... args) {