Fixed wrong version in updatechecker

This commit is contained in:
SloudPL 2025-06-18 23:47:59 +02:00
parent e6b621a9b5
commit 4aa224944c

View file

@ -53,12 +53,12 @@ public final class SloudChat extends JavaPlugin {
new Chat(this);
new SloudChatCMD(this);
new UpdateChecker(this, 108713).getLatestVersion(version -> {
new UpdateChecker(this, 126174).getLatestVersion(version -> {
String current = this.getDescription().getVersion();
if (!current.equalsIgnoreCase(version)) {
getLogger().warning("§cA new version of §eSloudChat §cis available!");
getLogger().warning("§7Current: §e" + current + " §7| Latest: §a" + version);
getLogger().warning("§bDownload: https://www.spigotmc.org/resources/sloudvanish.108713/");
getLogger().warning("§bDownload: https://www.spigotmc.org/resources/sloudchat.126174/");
} else {
getLogger().info("§aSloudChat is up to date (v" + current + ").");
}