Skip to content

Commit

Permalink
Merge pull request #10 from BT-Pluginz/1.5
Browse files Browse the repository at this point in the history
fucking deleted the initialization of the statusManager
  • Loading branch information
TubYoub authored Dec 13, 2024
2 parents c05b720 + a6d3fbc commit d2ceb7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.tubyoub</groupId>
<artifactId>StatusPlugin</artifactId>
<version>1.5</version>
<version>1.5.1</version>
<packaging>jar</packaging>

<name>Tub's Status Plugin</name>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/de/tubyoub/statusplugin/StatusPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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()));
}

/**
Expand Down

0 comments on commit d2ceb7a

Please sign in to comment.