Scrapped Mystcraft compatibility for the time being
This commit is contained in:
parent
c18a523460
commit
54bb48e21c
3 changed files with 1 additions and 41 deletions
|
@ -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;
|
||||
|
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue