From e43f23d41535f57e3853a0f3c908f774653b0a60 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 7 May 2021 21:54:13 -0400 Subject: [PATCH] import all MCDev files for remap --- buildSrc/src/main/kotlin/task/ApplyPatches.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/kotlin/task/ApplyPatches.kt b/buildSrc/src/main/kotlin/task/ApplyPatches.kt index 1b50b593..f158c51f 100644 --- a/buildSrc/src/main/kotlin/task/ApplyPatches.kt +++ b/buildSrc/src/main/kotlin/task/ApplyPatches.kt @@ -106,6 +106,7 @@ internal fun Project.createApplyPatchesTask( bashCmd("cd mappings/mapper && ./gradlew installDist", printOut = true) bashCmd("rm -fr mappings/work/Base", printOut = true) bashCmd("mkdir -p mappings/work/Base/src/main/java/com/mojang", printOut = true) + bashCmd("cp -r $paperDecompDir/spigot/* mappings/work/Base/src/main/java/", printOut = true, dir = project.getRootDir()) bashCmd("cp -r $forkName-Server/src/main/java/* mappings/work/Base/src/main/java/", printOut = true) bashCmd("cp -r $paperDecompDir/libraries/com.mojang/*/* mappings/work/Base/src/main/java/", printOut = true) bashCmd("rm -fr mappings/work/$forkName-Server_yarn_unpatched && mkdir -p mappings/work/$forkName-Server_yarn_unpatched/src/main/java", printOut = true)