We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3ff11 commit baf68a6Copy full SHA for baf68a6
src/main/java/org/spongepowered/api/MinecraftVersion.java
@@ -73,12 +73,4 @@ public interface MinecraftVersion extends Comparable<MinecraftVersion> {
73
*/
74
OptionalInt dataVersion();
75
76
- @Override
77
- default int compareTo(MinecraftVersion o) {
78
- final int result = Boolean.compare(this.isLegacy(), o.isLegacy());
79
- if (result != 0) {
80
- return result;
81
- }
82
- return this.protocolVersion() - o.protocolVersion();
83
84
}
0 commit comments