From 98e8720ff80c2aef92646661921407e604c78d0f Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Mon, 6 May 2024 15:07:09 +1000 Subject: [PATCH 1/2] Update platform versions --- gradle/libs.versions.toml | 2 +- worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8547912e66..ca174f0c5f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -75,7 +75,7 @@ fabric-minecraft = "com.mojang:minecraft:1.20.6" fabric-loader = "net.fabricmc:fabric-loader:0.15.10" fabric-permissions-api = "me.lucko:fabric-permissions-api:0.1-SNAPSHOT" -neoforge = "net.neoforged:neoforge:20.6.11-beta" +neoforge = "net.neoforged:neoforge:20.6.42-beta" # Mojang-provided libraries, CHECK AGAINST MINECRAFT for versions guava = "com.google.guava:guava:32.1.3-jre!!" diff --git a/worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts b/worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts index 130819e707..e6b4894618 100644 --- a/worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts +++ b/worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts @@ -6,5 +6,5 @@ plugins { dependencies { // https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/ - the().paperDevBundle("1.20.5-R0.1-20240426.233703-2") + the().paperDevBundle("1.20.6-R0.1-20240505.200405-27") } From e2e916335477d5c02649aaeff2f81a0a2d43daa7 Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Mon, 6 May 2024 20:24:46 +1000 Subject: [PATCH 2/2] [CLI] Fix deprecation warning --- .../main/java/com/sk89q/worldedit/cli/data/FileRegistries.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/data/FileRegistries.java b/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/data/FileRegistries.java index d332814e2a..5fb27bd3d1 100644 --- a/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/data/FileRegistries.java +++ b/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/data/FileRegistries.java @@ -27,6 +27,7 @@ import java.io.FileOutputStream; import java.io.IOException; +import java.net.URI; import java.net.URL; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; @@ -55,7 +56,7 @@ public void loadDataFiles() { Files.createDirectories(outputFolder); if (!Files.exists(checkPath)) { - URL url = new URL(DATA_FILE_DOWNLOAD_URL + app.getPlatform().getDataVersion() + "/" + CLI_DATA_VERSION); + URL url = URI.create(DATA_FILE_DOWNLOAD_URL + app.getPlatform().getDataVersion() + "/" + CLI_DATA_VERSION).toURL(); try (var stream = url.openStream()) { Files.copy(stream, checkPath);