From 637c9666c315189676e2baeafde1ca7e3849b4f4 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 21 Sep 2013 19:48:35 +1000 Subject: [PATCH] More toying with boring villages and added a dependancy for the latest forge --- common/biomesoplenty/BiomesOPlenty.java | 2 +- common/biomesoplenty/configuration/BOPStructures.java | 2 +- .../worldgen/structure/BOPMapGenScatteredFeature.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/biomesoplenty/BiomesOPlenty.java b/common/biomesoplenty/BiomesOPlenty.java index 975689bdf..79a1fa778 100644 --- a/common/biomesoplenty/BiomesOPlenty.java +++ b/common/biomesoplenty/BiomesOPlenty.java @@ -45,7 +45,7 @@ import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.TickRegistry; import cpw.mods.fml.relauncher.Side; -@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", version=Version.VERSION, dependencies="after:Natura") +@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", version=Version.VERSION, dependencies="after:Natura; required-after:Forge@FORGE_VERSION@") @NetworkMod(clientSideRequired=true, serverSideRequired=false) public class BiomesOPlenty { diff --git a/common/biomesoplenty/configuration/BOPStructures.java b/common/biomesoplenty/configuration/BOPStructures.java index cc7d98eaa..cd0add4fe 100644 --- a/common/biomesoplenty/configuration/BOPStructures.java +++ b/common/biomesoplenty/configuration/BOPStructures.java @@ -8,7 +8,7 @@ public class BOPStructures { public static void init() { - MapGenStructureIO.func_143034_b(BOPStructureScatteredFeatureStart.class, "BOPTemple"); MapGenStructureIO.func_143034_b(BOPStructureVillageStart.class, "BOPVillage"); + MapGenStructureIO.func_143034_b(BOPStructureScatteredFeatureStart.class, "BOPTemple"); } } diff --git a/common/biomesoplenty/worldgen/structure/BOPMapGenScatteredFeature.java b/common/biomesoplenty/worldgen/structure/BOPMapGenScatteredFeature.java index 6c7b23e8f..fe00be45e 100644 --- a/common/biomesoplenty/worldgen/structure/BOPMapGenScatteredFeature.java +++ b/common/biomesoplenty/worldgen/structure/BOPMapGenScatteredFeature.java @@ -118,7 +118,7 @@ public class BOPMapGenScatteredFeature extends MapGenStructure { StructureStart structurestart = this.func_143028_c(par1, par2, par3); - if (structurestart != null && structurestart instanceof StructureScatteredFeatureStart && !structurestart.components.isEmpty()) + if (structurestart != null && structurestart instanceof BOPStructureScatteredFeatureStart && !structurestart.components.isEmpty()) { StructureComponent structurecomponent = (StructureComponent)structurestart.components.getFirst(); return structurecomponent instanceof ComponentScatteredFeatureSwampHut;