Skip to content

Commit 565cc23

Browse files
committed
Only apply Parchment mappings if version is provided
1 parent 0116a31 commit 565cc23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ configure(subprojects.findAll {it.name == "common" || it.name == "forge" || it.n
104104
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
105105
mappings loom.layered() {
106106
officialMojangMappings()
107-
parchment("org.parchmentmc.data:parchment-${minecraft_version}:${parchment_version}@zip")
107+
if(rootProject.hasProperty("parchment_version")) {
108+
parchment("org.parchmentmc.data:parchment-${minecraft_version}:${parchment_version}@zip")
109+
}
108110
}
109111
}
110112

0 commit comments

Comments
 (0)