aboutsummaryrefslogtreecommitdiff
path: root/test-fabric/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'test-fabric/build.gradle.kts')
-rw-r--r--test-fabric/build.gradle.kts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-fabric/build.gradle.kts b/test-fabric/build.gradle.kts
index 1d2d5fd..b6ff7e5 100644
--- a/test-fabric/build.gradle.kts
+++ b/test-fabric/build.gradle.kts
@@ -24,7 +24,9 @@ val minecraftVersion = libs.versions.minecraft.get()
dependencies {
minecraft(libs.minecraft)
mappings(loom.layered {
- mappings("org.quiltmc:quilt-mappings:$minecraftVersion+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
+ val qm = libs.versions.quilt.mappings.get()
+ if (qm != "0")
+ mappings("org.quiltmc:quilt-mappings:${libs.versions.minecraft.get()}+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
officialMojangMappings()
})
modImplementation(libs.fabric.loader)