Skip to content

Commit

Permalink
Used == instead of !=
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriichan committed Jan 23, 2022
1 parent a62f532 commit f257c38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.sourcewriters.minecraft</groupId>
<artifactId>vcompat-updater</artifactId>
<name>vCompatUpdater</name>
<version>1.0.0</version>
<version>1.0.1</version>
<build>
<resources>
<resource>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ private boolean isUpToDate() {
if (githubVersion == null) {
return true;
}
return compare(githubVersion.split("."), exactVersion.split(".")) == 1;
return compare(githubVersion.split("."), exactVersion.split(".")) != 1;
} finally {
read.unlock();
}
Expand Down

0 comments on commit f257c38

Please sign in to comment.