mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-29 11:39:14 +00:00
fix: correct compat version check
This commit is contained in:
@@ -50,7 +50,7 @@ public interface CompatibilityChecker {
|
||||
}
|
||||
|
||||
// Check compatibility
|
||||
if (!compatible.equals(getPlugin().getMinecraftVersion())) {
|
||||
if (compatible.compareTo(getPlugin().getMinecraftVersion()) != 0) {
|
||||
throw new HuskSync.FailedToLoadException("""
|
||||
Incompatible Minecraft version. This version of HuskSync is designed for Minecraft %s.
|
||||
Please download the correct version of HuskSync for your server's Minecraft version (%s)."""
|
||||
|
||||
Reference in New Issue
Block a user