Skip to content

Commit

Permalink
Fix BukkitVersion's toString and equals
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed Dec 9, 2018
1 parent 67bccb8 commit 769dbe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Essentials/src/com/earth2me/essentials/utils/VersionUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public boolean equals(Object o) {
return major == that.major &&
minor == that.minor &&
patch == that.patch &&
revision == that.patch;
revision == that.revision;
}

@Override
Expand All @@ -112,7 +112,7 @@ public int hashCode() {

@Override
public String toString() {
return major + "+" + minor + "+" + patch + "-R" + revision;
return major + "." + minor + "." + patch + "-R" + revision;
}

@Override
Expand Down

0 comments on commit 769dbe8

Please sign in to comment.