load version number before config
This commit is contained in:
parent
911469c746
commit
1a47dc680a
1 changed files with 2 additions and 1 deletions
|
@ -58,11 +58,12 @@ public class Main extends JavaPlugin implements Listener {
|
|||
|
||||
public void onEnable() {
|
||||
Main.instance = this;
|
||||
this.updateVersion();
|
||||
|
||||
Config.loadConfig();
|
||||
Localization.loadLocalization();
|
||||
Items.loadItems();
|
||||
|
||||
this.updateVersion();
|
||||
this.board = new Board();
|
||||
this.database = new Database();
|
||||
this.disguiser = new Disguiser();
|
||||
|
|
Loading…
Reference in a new issue