From f03f55d04c3eb55816068a10f8f82a95bdc4b43d Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Sat, 14 Dec 2024 14:01:59 -0600 Subject: [PATCH] Update to 1.21.4 --- Movecraft/build.gradle.kts | 2 +- v1_21/build.gradle.kts | 2 +- .../net/countercraft/movecraft/compat/v1_21/IWorldHandler.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Movecraft/build.gradle.kts b/Movecraft/build.gradle.kts index 05e79516c..2678ac7a4 100644 --- a/Movecraft/build.gradle.kts +++ b/Movecraft/build.gradle.kts @@ -66,7 +66,7 @@ hangarPublish { platforms { register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) { jar.set(tasks.shadowJar.flatMap { it.archiveFile }) - platformVersions.set(listOf("1.20.6", "1.21.3")) + platformVersions.set(listOf("1.20.6", "1.21.4")) } } } diff --git a/v1_21/build.gradle.kts b/v1_21/build.gradle.kts index 2f8167e50..a795167e2 100644 --- a/v1_21/build.gradle.kts +++ b/v1_21/build.gradle.kts @@ -7,7 +7,7 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(21) dependencies { api(project(":movecraft-api")) - paperweight.paperDevBundle("1.21.3-R0.1-SNAPSHOT") + paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT") } description = "Movecraft-v1_21" diff --git a/v1_21/src/main/java/net/countercraft/movecraft/compat/v1_21/IWorldHandler.java b/v1_21/src/main/java/net/countercraft/movecraft/compat/v1_21/IWorldHandler.java index f04ab98a1..8d9d1ca8d 100644 --- a/v1_21/src/main/java/net/countercraft/movecraft/compat/v1_21/IWorldHandler.java +++ b/v1_21/src/main/java/net/countercraft/movecraft/compat/v1_21/IWorldHandler.java @@ -52,7 +52,7 @@ public class IWorldHandler extends WorldHandler { public IWorldHandler() { String version = Bukkit.getServer().getMinecraftVersion(); - if (!version.equals("1.21.3")) + if (!version.equals("1.21.4")) throw new IllegalStateException("Movecraft is not compatible with this version of Minecraft: " + version); }