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