From 54bb48e21cc76cef5c404b6c31f057319dd09aa8 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 1 Jun 2013 23:36:09 +1000 Subject: [PATCH] Scrapped Mystcraft compatibility for the time being --- .../biomesoplenty/BiomesOPlenty.java | 1 + .../integration/BOPCrossIntegration.java | 11 ------- .../integration/MystcraftIntegration.java | 30 ------------------- 3 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 src/minecraft/biomesoplenty/integration/MystcraftIntegration.java diff --git a/src/minecraft/biomesoplenty/BiomesOPlenty.java b/src/minecraft/biomesoplenty/BiomesOPlenty.java index a21b7265f..7e1b40996 100644 --- a/src/minecraft/biomesoplenty/BiomesOPlenty.java +++ b/src/minecraft/biomesoplenty/BiomesOPlenty.java @@ -30,6 +30,7 @@ import biomesoplenty.world.WorldProviderBOPhell; import biomesoplenty.world.WorldProviderPromised; import biomesoplenty.world.WorldTypeSize; import cpw.mods.fml.common.FMLCommonHandler; +import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; diff --git a/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java b/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java index f690661b6..b169659a0 100644 --- a/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java +++ b/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java @@ -49,17 +49,6 @@ public class BOPCrossIntegration { e.printStackTrace(System.err); } } - - if (Loader.isModLoaded("Mystcraft")) - { - try { - MystcraftIntegration.init(); - } - catch (Exception e) { - System.out.println("[BiomesOPlenty] There was an error while integrating Mystcraft with Biomes O' Plenty!"); - e.printStackTrace(System.err); - } - } if (Loader.isModLoaded("ThermalExpansion")) { diff --git a/src/minecraft/biomesoplenty/integration/MystcraftIntegration.java b/src/minecraft/biomesoplenty/integration/MystcraftIntegration.java deleted file mode 100644 index a8500aa78..000000000 --- a/src/minecraft/biomesoplenty/integration/MystcraftIntegration.java +++ /dev/null @@ -1,30 +0,0 @@ -package biomesoplenty.integration; - -import java.lang.reflect.Method; - -import biomesoplenty.api.Liquids; -import biomesoplenty.configuration.BOPConfiguration; - -public class MystcraftIntegration { - - public static void init() - { - blacklistSymbols(); - } - - private static void blacklistSymbols() - { - try - { - Method method = Class.forName("com.xcompwiz.mystcraft.generation.symbols.SymbolManager").getMethod("blackListSymbol", String.class); - - method.invoke("biome" + BOPConfiguration.promisedLandForestID); - method.invoke("biome" + BOPConfiguration.promisedLandPlainsID); - method.invoke("biome" + BOPConfiguration.promisedLandSwampID); - } - catch (Exception e) - { - e.printStackTrace(); - } - } -}