mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 08:55:26 +01:00
Made sure that SpoutConfig.load is called when the instance is created, for safety
This commit is contained in:
parent
d0e9f03311
commit
2a977557c2
@ -9,6 +9,7 @@ public class SpoutConfig extends ConfigLoader {
|
||||
public static SpoutConfig getInstance() {
|
||||
if (instance == null) {
|
||||
instance = new SpoutConfig(mcMMO.p);
|
||||
instance.load();
|
||||
}
|
||||
|
||||
return instance;
|
||||
|
@ -25,7 +25,7 @@ public class SpoutStart implements Runnable{
|
||||
|
||||
//Spout Stuff
|
||||
if (plugin.spoutEnabled) {
|
||||
SpoutConfig.getInstance().load();
|
||||
SpoutConfig.getInstance();
|
||||
SpoutStuff.setupSpoutConfigs();
|
||||
SpoutStuff.registerCustomEvent();
|
||||
SpoutStuff.extractFiles(); //Extract source materials
|
||||
|
Loading…
x
Reference in New Issue
Block a user