From 2d0cdadbd02577aa8c198025df5518b2cbe676e0 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 28 Apr 2013 15:53:45 +1000 Subject: [PATCH] Moved all integration to init instead of post init. Post init was just fucking everything up --- .../biomesoplenty/BiomesOPlenty.java | 1 - .../integration/BOPCrossIntegration.java | 27 +++++++++---------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/minecraft/biomesoplenty/BiomesOPlenty.java b/src/minecraft/biomesoplenty/BiomesOPlenty.java index b1a5ccf43..241648dfe 100644 --- a/src/minecraft/biomesoplenty/BiomesOPlenty.java +++ b/src/minecraft/biomesoplenty/BiomesOPlenty.java @@ -133,6 +133,5 @@ public class BiomesOPlenty public void postInit(FMLPostInitializationEvent event) { - BOPCrossIntegration.postInit(); } } \ No newline at end of file diff --git a/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java b/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java index 64738e0a8..4b2074f54 100644 --- a/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java +++ b/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java @@ -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 {