Skip to content

Commit

Permalink
Forgot i made update return the opposite for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
zack6849 committed Dec 6, 2015
1 parent 692e330 commit 2306881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/zack6849/superlogger/Updater.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public boolean isUpdateAvailible(){
Version current = new Version(plugin.getDescription().getVersion());
Version availible = new Version(getLatestVersion().split("v")[1]);
//return if the current version is smaller than the new version.
return current.compareTo(availible) != -1;
return current.compareTo(availible) == -1;
}

public String getDownloadURL(){
Expand Down

0 comments on commit 2306881

Please sign in to comment.