diff --git a/plugin/src/main/java/com/xism4/sternalboard/SternalBoardPlugin.java b/plugin/src/main/java/com/xism4/sternalboard/SternalBoardPlugin.java index 812a9ef..254c3b8 100644 --- a/plugin/src/main/java/com/xism4/sternalboard/SternalBoardPlugin.java +++ b/plugin/src/main/java/com/xism4/sternalboard/SternalBoardPlugin.java @@ -32,17 +32,19 @@ public class SternalBoardPlugin extends JavaPlugin { public void onLoad() { this.animConfig = new BukkitConfiguration(this, "animated-board"); this.config = new BukkitConfiguration(this, "config"); + + setAnimateScoreboard(config.get().getBoolean("settings.animated")); } @Override public void onEnable() { + LibraryLoader.loadLibs(this); + loadScoreboardMgr(); commandHandler(); loadTabCompletions(); eventHandler(); - LibraryLoader.loadLibs(this); - Bukkit.getScheduler().runTaskAsynchronously(this, () -> new Metrics(this, STERNAL_ID_METRICS)); }