Reformat
This commit is contained in:
parent
1db1c02077
commit
6353f02541
1 changed files with 832 additions and 837 deletions
|
@ -135,8 +135,7 @@ public class ConfigTechReborn {
|
||||||
|
|
||||||
public static Configuration config;
|
public static Configuration config;
|
||||||
|
|
||||||
private ConfigTechReborn(File configFile)
|
private ConfigTechReborn(File configFile) {
|
||||||
{
|
|
||||||
config = new Configuration(configFile);
|
config = new Configuration(configFile);
|
||||||
config.load();
|
config.load();
|
||||||
|
|
||||||
|
@ -146,8 +145,7 @@ public class ConfigTechReborn {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ConfigTechReborn initialize(File configFile)
|
public static ConfigTechReborn initialize(File configFile) {
|
||||||
{
|
|
||||||
|
|
||||||
if (instance == null)
|
if (instance == null)
|
||||||
instance = new ConfigTechReborn(configFile);
|
instance = new ConfigTechReborn(configFile);
|
||||||
|
@ -158,10 +156,8 @@ public class ConfigTechReborn {
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ConfigTechReborn instance()
|
public static ConfigTechReborn instance() {
|
||||||
{
|
if (instance == null) {
|
||||||
if (instance == null)
|
|
||||||
{
|
|
||||||
|
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"Instance of TechReborn Config requested before initialization");
|
"Instance of TechReborn Config requested before initialization");
|
||||||
|
@ -169,8 +165,7 @@ public class ConfigTechReborn {
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Configs()
|
public static void Configs() {
|
||||||
{
|
|
||||||
GalenaOreTrue = config
|
GalenaOreTrue = config
|
||||||
.get(CATEGORY_WORLD,
|
.get(CATEGORY_WORLD,
|
||||||
StatCollector
|
StatCollector
|
||||||
|
|
Loading…
Reference in a new issue