Created
November 9, 2013 17:46
-
-
Save Nucleareal/7387878 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src.nucleareal; | |
import java.io.File; | |
import cpw.mods.fml.common.event.FMLPreInitializationEvent; | |
import net.minecraftforge.common.Configuration; | |
public class ConfigurationCreator | |
{ | |
public static void create(FMLPreInitializationEvent ev, IConfigurationLoader method) | |
{ | |
Configuration conf = new Configuration(ev.getSuggestedConfigurationFile()); | |
conf.load(); | |
method.onLoad(conf); | |
conf.save(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment