From 73d13277be806a2f664be8147b2f7246cb816ea8 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 6 Jan 2022 18:34:44 +0000 Subject: [PATCH] Made update checker less annoyign --- eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java index 0cc28d04..3cd709e4 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java +++ b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java @@ -327,11 +327,9 @@ public abstract class EcoPlugin extends JavaPlugin implements PluginLike { DefaultArtifactVersion mostRecentVersion = new DefaultArtifactVersion(version); if (!(currentVersion.compareTo(mostRecentVersion) > 0 || currentVersion.equals(mostRecentVersion))) { this.outdated = true; - this.getScheduler().runTimer(() -> { - this.getLogger().info("&c " + this.getName() + " is out of date! (Version " + this.getDescription().getVersion() + ")"); - this.getLogger().info("&cThe newest version is &f" + version); - this.getLogger().info("&cDownload the new version!"); - }, 0, 864000); + this.getLogger().warning("&c " + this.getName() + " is out of date! (Version " + this.getDescription().getVersion() + ")"); + this.getLogger().warning("&cThe newest version is &f" + version); + this.getLogger().warning("&cDownload the new version!"); } }); }