From d4ea26833c982ac4333bed40ea4c97d3a771025a Mon Sep 17 00:00:00 2001 From: Adubbz Date: Thu, 16 Jan 2014 18:52:32 +1100 Subject: [PATCH] Let's not leave in errors... --- .../eventhandler/world/BOPMapGenVillageEventHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/biomesoplenty/common/eventhandler/world/BOPMapGenVillageEventHandler.java b/src/main/java/biomesoplenty/common/eventhandler/world/BOPMapGenVillageEventHandler.java index d90061adf..3b05fa2d3 100644 --- a/src/main/java/biomesoplenty/common/eventhandler/world/BOPMapGenVillageEventHandler.java +++ b/src/main/java/biomesoplenty/common/eventhandler/world/BOPMapGenVillageEventHandler.java @@ -1,7 +1,7 @@ package biomesoplenty.common.eventhandler.world; import net.minecraft.world.gen.structure.MapGenVillage; -import biomesoplenty.common.configuration.BOPConfigurationTerrainGen; +import biomesoplenty.common.configuration.structures.BOPConfigurationVillages; import cpw.mods.fml.relauncher.ReflectionHelper; public class BOPMapGenVillageEventHandler extends MapGenVillage @@ -10,7 +10,7 @@ public class BOPMapGenVillageEventHandler extends MapGenVillage { super(); - ReflectionHelper.setPrivateValue(MapGenVillage.class, this, BOPConfigurationTerrainGen.villageDistance, "field_82665_g"); - ReflectionHelper.setPrivateValue(MapGenVillage.class, this, BOPConfigurationTerrainGen.villageDistance / 4, "field_82666_h"); + ReflectionHelper.setPrivateValue(MapGenVillage.class, this, BOPConfigurationVillages.villageDistance, "field_82665_g"); + ReflectionHelper.setPrivateValue(MapGenVillage.class, this, BOPConfigurationVillages.villageDistance / 4, "field_82666_h"); } }