Skip to content

Commit d65f4ae

Browse files
committed
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.
1 parent 805bde1 commit d65f4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-logic/src/main/kotlin/buildlogic.platform.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ afterEvaluate {
5353
if (includeClasspath) {
5454
attributes["Class-Path"] = listOf("truezip", "truevfs", "js")
5555
.map { "$it.jar" }
56-
.flatMap { listOf(it, "WorldEdit/$it") }
56+
.flatMap { listOf(it, "WorldEdit/$it", "../$it", "../WorldEdit/$it") }
5757
.joinToString(separator = " ")
5858
}
5959
attributes.putAll(extraAttributes)

0 commit comments

Comments
 (0)