From db49cea649ae870d83f939d51a1a886854dce34b Mon Sep 17 00:00:00 2001 From: wizjany Date: Sun, 5 Jan 2025 20:01:55 -0500 Subject: [PATCH] Add parent dir to manifest classpath to account for paper-remapped load point. Currently, the remapped WorldEdit jar on paper is loaded from a sub-directory of the plugins folder, meaning dependencies like truezip and rhino won't be found in the documented search locations. Adding the parent dir temporarily solves this. See #2692. Closes #2691. --- build-logic/src/main/kotlin/buildlogic.platform.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/src/main/kotlin/buildlogic.platform.gradle.kts b/build-logic/src/main/kotlin/buildlogic.platform.gradle.kts index c14b4b3b75..0f488b8810 100644 --- a/build-logic/src/main/kotlin/buildlogic.platform.gradle.kts +++ b/build-logic/src/main/kotlin/buildlogic.platform.gradle.kts @@ -53,7 +53,7 @@ afterEvaluate { if (includeClasspath) { attributes["Class-Path"] = listOf("truezip", "truevfs", "js") .map { "$it.jar" } - .flatMap { listOf(it, "WorldEdit/$it") } + .flatMap { listOf(it, "WorldEdit/$it", "../$it", "../WorldEdit/$it") } .joinToString(separator = " ") } attributes.putAll(extraAttributes)