From a6d3fbcdb20cc5ab00e7e8767e6dbbefd6c40969 Mon Sep 17 00:00:00 2001 From: TubYoub Date: Fri, 13 Dec 2024 22:28:28 +0100 Subject: [PATCH] fucking deleted the initialization of the statusManager -version bump -fucking test next time Took 12 minutes --- pom.xml | 2 +- src/main/java/de/tubyoub/statusplugin/StatusPlugin.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index fd5a6da..4a68ac9 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.tubyoub StatusPlugin - 1.5 + 1.5.1 jar Tub's Status Plugin diff --git a/src/main/java/de/tubyoub/statusplugin/StatusPlugin.java b/src/main/java/de/tubyoub/statusplugin/StatusPlugin.java index d3fa71f..666da7f 100644 --- a/src/main/java/de/tubyoub/statusplugin/StatusPlugin.java +++ b/src/main/java/de/tubyoub/statusplugin/StatusPlugin.java @@ -22,7 +22,7 @@ * This class extends JavaPlugin and represents the main entry point for the plugin. */ public class StatusPlugin extends JavaPlugin { - private final String version = "1.5"; + private final String version = "1.5.1"; private final String project = "km0yAITg"; private int pluginId = 20463; private StatusManager statusManager; @@ -54,6 +54,7 @@ public void onEnable() { configManager.loadConfig(); // Initialize the StatusManager and VersionChecker + this.statusManager = new StatusManager(this); if (configManager.isCheckUpdate()) { versionInfo = VersionChecker.isNewVersionAvailable(version, project); if (versionInfo.isNewVersionAvailable) { @@ -136,7 +137,6 @@ public void onEnable() { }, 0L, 600L); // 600 ticks = 30 seconds } getLogger().info("Tub's StatusPlugin successfully loaded"); - getLogger().warning(String.valueOf(this.getConfig())); } /**