Moved all integration to init instead of post init. Post init was just fucking everything up
This commit is contained in:
parent
9d8e5cbca5
commit
2d0cdadbd0
2 changed files with 12 additions and 16 deletions
|
@ -133,6 +133,5 @@ public class BiomesOPlenty
|
|||
|
||||
public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
BOPCrossIntegration.postInit();
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue