mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-25 09:49:25 +00:00
Fix quotes breaking formatted message strings (#1118)
This commit is contained in:
@@ -122,7 +122,7 @@ public class LanguageUtils {
|
||||
formatString = key;
|
||||
}
|
||||
|
||||
return MessageFormat.format(formatString.replace("&", "\u00a7"), values);
|
||||
return MessageFormat.format(formatString.replace("'", "''").replace("&", "\u00a7"), values);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user