mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-25 14:24:40 +00:00
Run formatter over project
This commit is contained in:
1 parent
fea057fa7e
commit
8f59aa1cc7
7 files changed
+67
-62
No files matched your search
@@ -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.");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user