diff --git a/patches/server/Build-system-changes.patch b/patches/server/Build-system-changes.patch index 63bca1ce94..db9d8e19cd 100644 --- a/patches/server/Build-system-changes.patch +++ b/patches/server/Build-system-changes.patch @@ -38,25 +38,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 ) for (tld in setOf("net", "com", "org")) { attributes("$tld/bukkit", "Sealed" to true) -@@ -0,0 +0,0 @@ relocation { - } - } - -+val generatePom = tasks.named("generatePomFileForMavenPublication") -+ - tasks.shadowJar { - configurations = listOf(project.configurations.vanillaServer.get()) - archiveClassifier.set("mojang-mapped") - -+ // Needed for Paperclip's install to maven local feature // todo: are we keeping this? if so is this still correct? -+ from(generatePom) { -+ into("META-INF/maven/io.papermc.paper/paper") -+ rename { "pom.xml" } -+ } -+ - for (relocation in relocation.relocations.get()) { - relocate(relocation.fromPackage, relocation.toPackage) { - for (exclude in relocation.excludes) { diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java