From a2cc2b1ad0f02937c7b1b63aee67cdb76aa171cf Mon Sep 17 00:00:00 2001 From: Amnet Date: Wed, 25 Sep 2013 00:19:09 +0200 Subject: [PATCH] Backwards compatibility to 1.6.2. --- build.xml | 4 ++-- common/biomesoplenty/BiomesOPlenty.java | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index fd1bbb214..438c9346b 100644 --- a/build.xml +++ b/build.xml @@ -4,7 +4,7 @@ - + @@ -132,7 +132,7 @@ - + diff --git a/common/biomesoplenty/BiomesOPlenty.java b/common/biomesoplenty/BiomesOPlenty.java index 5f8efc196..e7f4fcc91 100644 --- a/common/biomesoplenty/BiomesOPlenty.java +++ b/common/biomesoplenty/BiomesOPlenty.java @@ -1,5 +1,6 @@ package biomesoplenty; +import net.minecraft.crash.CallableMinecraftVersion; import net.minecraft.creativetab.CreativeTabs; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.common.MinecraftForge; @@ -73,7 +74,8 @@ public class BiomesOPlenty BOPItems.init(); BOPFluids.init(); BOPCrafting.init(); - BOPStructures.init(); + if ((new CallableMinecraftVersion(null)).minecraftVersion() != "1.6.2") + BOPStructures.init(); BOPBiomes.init(); BOPEntities.init(); BOPVanillaCompat.init();