diff --git a/neoforge/build.gradle b/neoforge/build.gradle index 592862a9..3ced32f1 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -12,7 +12,7 @@ base { } if (file('src/main/resources/META-INF/accesstransformer.cfg').exists()) { - minecraft.accessTransformers.file rootProject.file('src/main/resources/META-INF/accesstransformer.cfg') + minecraft.accessTransformers.file file('src/main/resources/META-INF/accesstransformer.cfg') } runs { configureEach {