Run formatter over project

This commit is contained in:
mDiyo committed 2013-12-06 06:58:39 -08:00
1 parent fea057fa7e
commit 8f59aa1cc7
7 files changed
+67 -62

No files matched your search

+15 -13
View File
@@ -11,21 +11,23 @@ import mantle.lib.CoreRepo.*;
*
* @author Sunstrike <[email protected]>
*/
public class CoreConfig {
public class CoreConfig
{
/**
* Loads state from a Forge configuration object, or saves a new file if it doesn't already exist.
*
* @param config Configuration object (usually from a location given by FML in preinit)
*/
public static void loadConfiguration(Configuration config) {
Mantle.logger.info("Loading configuration from disk.");
config.load();
/**
* Loads state from a Forge configuration object, or saves a new file if it doesn't already exist.
*
* @param config Configuration object (usually from a location given by FML in preinit)
*/
public static void loadConfiguration (Configuration config)
{
Mantle.logger.info("Loading configuration from disk.");
config.load();
// TODO: Config vars get/set here
// TODO: Config vars get/set here
config.save();
Mantle.logger.info("Configuration load completed.");
}
config.save();
Mantle.logger.info("Configuration load completed.");
}
}