Open Boobies opened 5 years ago
Still happens with Hwyla-fabric-1.15.2-1.9.20-71.jar
. @TehNut I can't find the villager HUD code any more -- where the heck did that go in the Fabric port?
If it was still there, the fix should look like:
ITextComponent profession = new TextComponentTranslation("entity.minecraft.villager." + career.getName());
With new entries in the translation JSON:
{
"entity.minecraft.villager.none": "Unemployed",
"entity.minecraft.villager.nitwit": "Nitwit"
}
I was able to solve this issue (and #290) by removing this line:
"entity.minecraft.villager.none": "Nitwit"
From the end of the file src/main/resources/assets/waila/lang/en_us.json
I don't understand why we are even overwriting the default Minecraft language here
Villagers that are unemployed are labeled as as nitwits. When profession is set to none, then they are just unemployed.