Skip to content

Commit

Permalink
fixed update checker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CodedRedGIT committed Jul 11, 2023
1 parent 93a8dd9 commit 8d5a815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/codedred/playtimes/PlayTimes.java
Original file line number Diff line number Diff line change
Expand Up @@ -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/"));
Expand Down

0 comments on commit 8d5a815

Please sign in to comment.