mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
Fixed villager career display names being off by one.
This commit is contained in:
1 parent
aacb319594
commit
5c15dd714e
1 file changed
+1
-1
@@ -147,7 +147,7 @@
|
||||
}
|
||||
|
||||
- if (s1 != null)
|
||||
+ s1 = "entity.Villager." + this.getProfessionForge().getCareer(this.field_175563_bv).getName();
|
||||
+ s1 = "entity.Villager." + this.getProfessionForge().getCareer(this.field_175563_bv-1).getName();
|
||||
{
|
||||
- TextComponentTranslation textcomponenttranslation = new TextComponentTranslation("entity.Villager." + s1, new Object[0]);
|
||||
+ TextComponentTranslation textcomponenttranslation = new TextComponentTranslation(s1, new Object[0]);
|
||||
|
||||
Reference in new issue
Block a user