Made logger set parent

This commit is contained in:
Calclavia 2013-12-01 17:07:08 +08:00
parent f17982f85d
commit a7a5248b24

View file

@ -104,6 +104,7 @@ import net.minecraftforge.oredict.ShapelessOreRecipe;
import rebelkeithy.mods.metallurgy.api.IOreInfo; import rebelkeithy.mods.metallurgy.api.IOreInfo;
import rebelkeithy.mods.metallurgy.api.MetallurgyAPI; import rebelkeithy.mods.metallurgy.api.MetallurgyAPI;
import thermalexpansion.api.crafting.CraftingManagers; import thermalexpansion.api.crafting.CraftingManagers;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.Instance;
@ -1070,6 +1071,7 @@ public class Mekanism
@EventHandler @EventHandler
public void preInit(FMLPreInitializationEvent event) public void preInit(FMLPreInitializationEvent event)
{ {
logger.setParent(FMLLog.getLogger());
File config = event.getSuggestedConfigurationFile(); File config = event.getSuggestedConfigurationFile();
//Set the mod's configuration //Set the mod's configuration