Search in sources :

Example 1 with GT_CustomLoader

use of com.dreammaster.gthandler.GT_CustomLoader in project NewHorizonsCoreMod by GTNewHorizons.

the class MainRegistry method PostLoad.

@EventHandler
public void PostLoad(FMLPostInitializationEvent PostEvent) {
    if (CoreConfig.ModHazardousItems_Enabled)
        Module_HazardousItems.LoadConfig();
    if (CoreConfig.ModCustomToolTips_Enabled)
        Module_CustomToolTips.LoadConfig();
    if (CoreConfig.ModCustomFuels_Enabled)
        Module_CustomFuels.LoadConfig();
    if (CoreConfig.ModCustomDrops_Enabled)
        Module_CustomDrops.LoadConfig();
    GT_Loader_ItemPipes.registerPipes();
    GTCustomLoader = new GT_CustomLoader();
    GTCustomLoader.run();
    registerModFixes();
    // Register modfixes in registerModFixes()
    // Don't call enableModFixes() yourself
    // Don't register fixes after enableModFixes() has been executed
    ModFixesMaster.enableModFixes();
}
Also used : GT_CustomLoader(com.dreammaster.gthandler.GT_CustomLoader) EventHandler(cpw.mods.fml.common.Mod.EventHandler)

Aggregations

GT_CustomLoader (com.dreammaster.gthandler.GT_CustomLoader)1 EventHandler (cpw.mods.fml.common.Mod.EventHandler)1