aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-13 17:56:59 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-13 17:56:59 +0100
commitf2a0dd9d647bc57bab91eaac0cdf515a84ebb1be (patch)
treefa9f171d58bea763488d079b2094a5de0e183629
parentdb56cfdb57c481de8c833a1a53b7e9f9cdae82c0 (diff)
downloadgradle-init-scripts-f2a0dd9d647bc57bab91eaac0cdf515a84ebb1be.tar.gz
gradle-init-scripts-f2a0dd9d647bc57bab91eaac0cdf515a84ebb1be.tar.bz2
gradle-init-scripts-f2a0dd9d647bc57bab91eaac0cdf515a84ebb1be.zip
Fix crash in installMinecraftHEADmaster
-rw-r--r--installMinecraft.init.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/installMinecraft.init.gradle.kts b/installMinecraft.init.gradle.kts
index a61df85..dd052e4 100644
--- a/installMinecraft.init.gradle.kts
+++ b/installMinecraft.init.gradle.kts
@@ -27,7 +27,7 @@ allprojects {
val toInstall = listOf("remapJar", "shadowJar", "jar").mapNotNull {
tasks.findByName(it)
}.filterIsInstance<org.gradle.jvm.tasks.Jar>().firstOrNull()
- val targetDirectory = File(project.findProperty("minecraft.modfolder")!!)
+ val targetDirectory = File(project.findProperty("minecraft.modfolder") as String)
if (toInstall != null) {
tasks.create("installToMinecraft") {
dependsOn(toInstall)