Skip to content

Commit 20216c1

Browse files
committed
fix circular ref
1 parent 7a126d6 commit 20216c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paperweight-core/src/main/kotlin/io/papermc/paperweight/core/taskcontainers/MinecraftPatchingTasks.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class MinecraftPatchingTasks(
8282
output.set(outputSrc)
8383
}
8484
patches.set(sourcePatchDir.fileExists(project))
85-
rejectsDir.set(rejectsDir)
85+
rejectsDir.set(this@MinecraftPatchingTasks.rejectsDir)
8686
gitFilePatches.set(this@MinecraftPatchingTasks.gitFilePatches)
8787
identifier = configName
8888
}

paperweight-core/src/main/kotlin/io/papermc/paperweight/core/taskcontainers/PatchingTasks.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class PatchingTasks(
6767
output.set(outputDir)
6868
}
6969
patches.set(filePatchDir.fileExists(project))
70-
rejectsDir.set(rejectsDir)
70+
rejectsDir.set(this@PatchingTasks.rejectsDir)
7171
gitFilePatches.set(this@PatchingTasks.gitFilePatches)
7272
baseRef.set("base")
7373
identifier = "$forkName $patchSetName"

0 commit comments

Comments
 (0)