From 5c15dd714ed3cbbe60f5ac67e9394ac4770b52cd Mon Sep 17 00:00:00 2001 From: LexManos Date: Sat, 18 Jun 2016 11:54:46 -0700 Subject: [PATCH] Fixed villager career display names being off by one. --- .../net/minecraft/entity/passive/EntityVillager.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch b/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch index 941bede3c..d9f9509fa 100644 --- a/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch +++ b/patches/minecraft/net/minecraft/entity/passive/EntityVillager.java.patch @@ -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]);