mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix BukkitVersion's toString and equals
This commit is contained in:
parent
67bccb865a
commit
769dbe8852
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ public class VersionUtil {
|
||||||
return major == that.major &&
|
return major == that.major &&
|
||||||
minor == that.minor &&
|
minor == that.minor &&
|
||||||
patch == that.patch &&
|
patch == that.patch &&
|
||||||
revision == that.patch;
|
revision == that.revision;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -112,7 +112,7 @@ public class VersionUtil {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return major + "+" + minor + "+" + patch + "-R" + revision;
|
return major + "." + minor + "." + patch + "-R" + revision;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue