Let's not leave in errors...

This commit is contained in:
Adubbz 2014-01-16 18:52:32 +11:00
parent 923c15daea
commit d4ea26833c
1 changed files with 3 additions and 3 deletions

View File

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