diff --git a/src/main/java/me/codedred/playtimes/PlayTimes.java b/src/main/java/me/codedred/playtimes/PlayTimes.java index c82f64f..81d57ad 100644 --- a/src/main/java/me/codedred/playtimes/PlayTimes.java +++ b/src/main/java/me/codedred/playtimes/PlayTimes.java @@ -68,7 +68,7 @@ private void checkForUpdate() { Bukkit.getScheduler().runTaskAsynchronously(this, () -> { UpdateChecker updater = new UpdateChecker(this, 58858); try { - if (updater.checkForUpdates()) { + if (!updater.checkForUpdates()) { getLogger().warning(ChatUtil.format("&eYou are using an older version of PlayTimes!")); getLogger().info(ChatUtil.format("&eDownload the newest version here:")); getLogger().info(ChatUtil.format("&bhttps://www.spigotmc.org/resources/58858/"));