diff --git a/src/main/java/eu/m724/tweaks/TweaksConfig.java b/src/main/java/eu/m724/tweaks/TweaksConfig.java index 57530df..3a10a27 100644 --- a/src/main/java/eu/m724/tweaks/TweaksConfig.java +++ b/src/main/java/eu/m724/tweaks/TweaksConfig.java @@ -75,9 +75,9 @@ public record TweaksConfig( if (configVersion == 0) { throw exception; - } else if (configVersion > CONFIG_VERSION) { - throw new RuntimeException("Please follow update instructions https://www.spigotmc.org/resources/tweaks724.121057/updates", exception); } else if (configVersion < CONFIG_VERSION) { + throw new RuntimeException("Please follow update instructions https://www.spigotmc.org/resources/tweaks724.121057/updates", exception); + } else if (configVersion > CONFIG_VERSION) { throw new RuntimeException("Did you downgrade the plugin? Remove config.yml and let the plugin re-create it", exception); }