From fe15444a942c8d2b7740246c4fdb83d3f772950e Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sun, 1 Jul 2018 20:08:50 +1000 Subject: + Added lang file updates. % More work on Spawners. % More work on Villagers. --- src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/plugin/villagers/entity') diff --git a/src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java b/src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java index dc97aa4ce6..09bb65f620 100644 --- a/src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java +++ b/src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java @@ -181,7 +181,7 @@ public class EntityBaseVillager extends EntityVillager { protected boolean getNeedsInitilization() { Field v82191; try { - v82191 = ReflectionUtils.getField(getClass(), "needsInitilization"); + v82191 = ReflectionUtils.getField(EntityVillager.class, "needsInitilization"); try { return v82191 != null ? v82191.getBoolean(this) : false; } catch (IllegalArgumentException | IllegalAccessException e) { -- cgit