Skip to content

Commit c7afbb4

Browse files
authored
Fixed the equal() method (#57)
1 parent f981aac commit c7afbb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/inventivetalent/reflection/minecraft/MinecraftVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public boolean olderThan(Minecraft.Version version) {
9494
* @return <code>true</code> if this version is equals than the specified version
9595
*/
9696
public boolean equal(Minecraft.Version version) {
97-
return version() < version.version();
97+
return version() == version.version();
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)