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;
|
||||
|
||||
private ConfigTechReborn(File configFile)
|
||||
{
|
||||
private ConfigTechReborn(File configFile) {
|
||||
config = new Configuration(configFile);
|
||||
config.load();
|
||||
|
||||
|
@ -146,8 +145,7 @@ public class ConfigTechReborn {
|
|||
|
||||
}
|
||||
|
||||
public static ConfigTechReborn initialize(File configFile)
|
||||
{
|
||||
public static ConfigTechReborn initialize(File configFile) {
|
||||
|
||||
if (instance == null)
|
||||
instance = new ConfigTechReborn(configFile);
|
||||
|
@ -158,10 +156,8 @@ public class ConfigTechReborn {
|
|||
return instance;
|
||||
}
|
||||
|
||||
public static ConfigTechReborn instance()
|
||||
{
|
||||
if (instance == null)
|
||||
{
|
||||
public static ConfigTechReborn instance() {
|
||||
if (instance == null) {
|
||||
|
||||
throw new IllegalStateException(
|
||||
"Instance of TechReborn Config requested before initialization");
|
||||
|
@ -169,8 +165,7 @@ public class ConfigTechReborn {
|
|||
return instance;
|
||||
}
|
||||
|
||||
public static void Configs()
|
||||
{
|
||||
public static void Configs() {
|
||||
GalenaOreTrue = config
|
||||
.get(CATEGORY_WORLD,
|
||||
StatCollector
|
||||
|
|
Loading…
Reference in a new issue