aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java')
-rw-r--r--src/Java/gtPlusPlus/plugin/villagers/entity/EntityBaseVillager.java2
1 files changed, 1 insertions, 1 deletions
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) {