From 74cbccdf4ca42cb910649faad5c69730400436b5 Mon Sep 17 00:00:00 2001 From: xGinko Date: Sat, 4 Jan 2025 23:40:10 +0100 Subject: [PATCH] fix log message condition for 1.12.2 --- .../src/main/java/me/xginko/aef/AnarchyExploitFixes.java | 2 +- build-logic/src/main/kotlin/me.xginko.aef.wrapper.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/AnarchyExploitFixes.java b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/AnarchyExploitFixes.java index bb0a5210..df604445 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/AnarchyExploitFixes.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/AnarchyExploitFixes.java @@ -114,7 +114,7 @@ public void onEnable() { prefixedLogger.warn("Legacy is intended for Paper server versions 1.12 - 1.19.4."); prefixedLogger.warn("Please use the Folia jar for your server to avoid issues due to old API calls."); } - if (serverVersion.isOlderThanOrEquals(ServerVersion.V_1_12_2)) { + if (serverVersion.isOlderThan(ServerVersion.V_1_12_2)) { prefixedLogger.warn("This version is officially unsupported. Expect issues."); } diff --git a/build-logic/src/main/kotlin/me.xginko.aef.wrapper.gradle.kts b/build-logic/src/main/kotlin/me.xginko.aef.wrapper.gradle.kts index ffbdd3f5..7455a4aa 100755 --- a/build-logic/src/main/kotlin/me.xginko.aef.wrapper.gradle.kts +++ b/build-logic/src/main/kotlin/me.xginko.aef.wrapper.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "me.xginko" -version = "2.7.3" +version = "2.7.4" description = "Prevent many exploits that affect anarchy servers." var url: String? = "github.com/xGinko/AnarchyExploitFixes"