Fixed villager career display names being off by one.
This commit is contained in:
parent
aacb319594
commit
5c15dd714e
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue