Fixed wrong version in updatechecker
This commit is contained in:
parent
e6b621a9b5
commit
4aa224944c
1 changed files with 2 additions and 2 deletions
|
@ -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 + ").");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue