load version number before config

This commit is contained in:
Tyler Murphy 2022-08-03 20:19:41 -04:00
parent 911469c746
commit 1a47dc680a

View file

@ -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();