diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java index 595ff6ecad..8611860411 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/MinecraftVersion.java @@ -284,11 +284,8 @@ public boolean isBefore(int minecraftVersion, int patchVersion) { } // major version mismatch - if (this.majorVersion < minecraftVersion) { - return true; - } - if (this.majorVersion > minecraftVersion) { - return false; + if (this.majorVersion != minecraftVersion) { + return this.majorVersion < minecraftVersion; } return this.minorVersion == -1 ? patchVersion > 0 : this.minorVersion < patchVersion;