Moved all integration to init instead of post init. Post init was just fucking everything up

This commit is contained in:
Adubbz 2013-04-28 15:53:45 +10:00
parent 9d8e5cbca5
commit 2d0cdadbd0
2 changed files with 12 additions and 16 deletions

View file

@ -133,6 +133,5 @@ public class BiomesOPlenty
public void postInit(FMLPostInitializationEvent event)
{
BOPCrossIntegration.postInit();
}
}

View file

@ -16,21 +16,7 @@ public class BOPCrossIntegration {
e.printStackTrace(System.err);
}
}
}
public static void postInit()
{
if (Loader.isModLoaded("Forestry"))
{
try {
ForestryIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Forestry with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("BWG4"))
{
try {
@ -42,6 +28,17 @@ public class BOPCrossIntegration {
}
}
if (Loader.isModLoaded("Forestry"))
{
try {
ForestryIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Forestry with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("ThermalExpansion"))
{
try {