From 00148305cea5fe99187b5b30912349a5c4c8b8b7 Mon Sep 17 00:00:00 2001 From: Madeline Miller Date: Sat, 1 Jun 2024 14:45:03 +1000 Subject: [PATCH] Fix build errors from merge --- verification/build.gradle.kts | 2 +- .../java/com/sk89q/worldedit/cli/data/FileRegistries.java | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/verification/build.gradle.kts b/verification/build.gradle.kts index 404af4d405..2b53f7b4c6 100644 --- a/verification/build.gradle.kts +++ b/verification/build.gradle.kts @@ -43,7 +43,7 @@ tasks.check { // Generic setup for all tasks // Pull the version before our current version. val baseVersion = "(,${rootProject.version.toString().substringBefore("-SNAPSHOT")}[" -for (projectFragment in listOf("bukkit", "cli", "core", "fabric", "neoforge")) { +for (projectFragment in listOf("bukkit", "core", "fabric", "neoforge")) { val capitalizedFragment = projectFragment.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.ROOT) else it.toString() } val proj = project(":worldedit-$projectFragment") 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 5fb27bd3d1..9bc095d843 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 @@ -23,14 +23,10 @@ import com.google.gson.GsonBuilder; import com.sk89q.worldedit.WorldEdit; import com.sk89q.worldedit.cli.CLIWorldEdit; -import com.sk89q.worldedit.util.io.Closer; -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; import java.nio.file.Files; import java.nio.file.Path;