Skip to content

Commit b976b0f

Browse files
authored
fix: resolve mismatch between old commit property reads
1 parent 955be4b commit b976b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paperweight-core/src/main/kotlin/io/papermc/paperweight/core/PaperweightCore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ abstract class PaperweightCore : Plugin<Project> {
219219
coreExt.paper.rejectsDir,
220220
layout.projectDirectory.dir("src/minecraft/java"),
221221
)
222-
} else if (coreExt.activeFork.isPresent && target.hasProperty("old${coreExt.activeFork.get().name}Commit")) {
222+
} else if (coreExt.activeFork.isPresent && target.hasProperty("old${coreExt.activeFork.get().name.capitalized()}Commit")) {
223223
val name = coreExt.activeFork.get().name
224224
// old commit fetching for forks through a gradle property
225225
target.tasks.named<ApplyBasePatches>("applyMinecraftBasePatches").configure {

0 commit comments

Comments
 (0)