From 1a47dc680a25ba6a546fe769f227156090d30e3e Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Wed, 3 Aug 2022 20:19:41 -0400 Subject: [PATCH] load version number before config --- src/main/java/net/tylermurphy/hideAndSeek/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/tylermurphy/hideAndSeek/Main.java b/src/main/java/net/tylermurphy/hideAndSeek/Main.java index 08f1d3e..4d8581f 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/Main.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/Main.java @@ -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();