Update Lang.java
https://www.spigotmc.org/threads/chatcolor-implementation-%C2%A7x-x.505831/
This commit is contained in:
parent
394b238958
commit
bed538ffbb
|
@ -43,7 +43,7 @@ public class Lang {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue