Small fix

This commit is contained in:
SloudPL 2025-06-20 13:30:43 +02:00
parent 6ef79d3353
commit d6b371bed0

View file

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