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() {
|
public void onEnable() {
|
||||||
Main.instance = this;
|
Main.instance = this;
|
||||||
|
this.updateVersion();
|
||||||
|
|
||||||
Config.loadConfig();
|
Config.loadConfig();
|
||||||
Localization.loadLocalization();
|
Localization.loadLocalization();
|
||||||
Items.loadItems();
|
Items.loadItems();
|
||||||
|
|
||||||
this.updateVersion();
|
|
||||||
this.board = new Board();
|
this.board = new Board();
|
||||||
this.database = new Database();
|
this.database = new Database();
|
||||||
this.disguiser = new Disguiser();
|
this.disguiser = new Disguiser();
|
||||||
|
|
Loading…
Reference in a new issue