forked from GeyserMC/Geyser
Fix quotes breaking formatted message strings (#1118)
This commit is contained in:
parent
c7958af1db
commit
b84986a502
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public class LanguageUtils {
|
||||||
formatString = key;
|
formatString = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
return MessageFormat.format(formatString.replace("&", "\u00a7"), values);
|
return MessageFormat.format(formatString.replace("'", "''").replace("&", "\u00a7"), values);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue