Skip to content

Commit baf68a6

Browse files
committed
moved compare to implementation
1 parent bf3ff11 commit baf68a6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/org/spongepowered/api/MinecraftVersion.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,4 @@ public interface MinecraftVersion extends Comparable<MinecraftVersion> {
7373
*/
7474
OptionalInt dataVersion();
7575

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-
}
8476
}

0 commit comments

Comments
 (0)