Skip to content

Commit

Permalink
Update Lang.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TreemanKing committed Nov 22, 2023
1 parent 394b238 commit bed538f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static String translate(String s) {
if (instance.languageMap.containsKey(s)) {
String translation = instance.languageMap.get(s);
// noinspection ALL (not sure what the specific warning is for escaped unicode)
translation = translation.replaceAll("&([0-9a-frk-o])", "\u00A7$1");
translation = translation.replaceAll("&([0-9a-frk-ox])", "\u00A7$1");
return translation;
} else {
return s;
Expand Down

0 comments on commit bed538f

Please sign in to comment.