Server-Console language bug "menu.preparingSpawn"
SgtKaneki opened this issue · 2 comments
Describe the bug:
if Consistency+ is installed there are a few language-bugs at the server-console.
For example: "menu.preparingSpawn"
Versions:
Minecraft version: 1.19.2
Fabric API / QSL / Forge version: Fabric 0.14.14
Other mods:
Doesn't matter, even happens if only consistency+ (and "architectury" as required) if installed.
To Reproduce:
Steps to reproduce the behavior. Format it as a numbered list of steps.
- Just install Consistency+ on a Fabric Server
- Start the Server
Expected behavior:
Should not affect the "language" ^^
The mod file contains an assets/minecraft/lang/en_us.json
file which ends up replacing the vanilla Minecraft language file.
It is not merged.
This means that all the logging format strings are missing and you end up with just the format string's id being logged.
A quick workaround is to remove that file from the Jar.
For linux users you can quickly identify mods that have this file with:
for f in *.jar; do unzip -l $f | grep -q assets/minecraft/lang/en_us.json && echo $f; done
You can remove the file with:
zip -d <jar_file> assets/minecraft/lang/en_us.json