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"); } }