mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Upate to config
Now has a default config copied over on first run (can and should be commented!) Currently loads defaults from our in-jar file then what we define in code, could remove what we have in-code? The power of the auto-formatter compells you
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -97,7 +97,7 @@ public class mcMMO extends JavaPlugin
|
||||
public Misc misc = new Misc(this);
|
||||
|
||||
//Config file stuff
|
||||
LoadProperties config = new LoadProperties(this);
|
||||
LoadProperties config;
|
||||
//Jar stuff
|
||||
public static File mcmmo;
|
||||
|
||||
@ -127,8 +127,8 @@ public class mcMMO extends JavaPlugin
|
||||
|
||||
mcPermissions.initialize(getServer());
|
||||
|
||||
System.out.println("[mcMMO]Checking config file at: " + this.getDataFolder().toString() + File.separator + "config.yml");
|
||||
config.configCheck();
|
||||
this.config = new LoadProperties(this);
|
||||
this.config.load();
|
||||
|
||||
Party.getInstance().loadParties();
|
||||
new Party(this);
|
||||
|
Reference in New Issue
Block a user