another Autoupdate bug
This commit is contained in:
parent
fa9eddd0e7
commit
7e39b8bd36
|
@ -46,6 +46,10 @@ public class PersistentConfiguration {
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void load() {
|
public void load() {
|
||||||
|
if (!config.isEmpty()) {
|
||||||
|
System.out.println("Configuration already loaded");
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(CONFIG_FILE_NAME));
|
BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(CONFIG_FILE_NAME));
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue