Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fucking deleted the initialization of the statusManager #10

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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