Variant Bookshelves [Fabric]

Variant Bookshelves [Fabric]

1M Downloads

[2.1.5] Language file in mod breaks console log output - menu.preparingSpawn

TigerWalts opened this issue ยท 2 comments

commented

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
commented

I'll push an update to fix this now.
thanks and apologies