Moved TE integration to preinit

This commit is contained in:
Adubbz 2013-11-19 20:00:07 +11:00
parent 223f807173
commit 11bc53eada

View file

@ -21,6 +21,17 @@ public class BOPCrossIntegration {
} }
} }
if (Loader.isModLoaded("ThermalExpansion"))
{
try {
TEIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Thermal Expansion with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("Thaumcraft")) if (Loader.isModLoaded("Thaumcraft"))
{ {
try { try {
@ -78,18 +89,6 @@ public class BOPCrossIntegration {
} }
} }
if (Loader.isModLoaded("ThermalExpansion"))
{
try {
TEIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Thermal Expansion with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("ATG")) if (Loader.isModLoaded("ATG"))
{ {
try { try {