Fix AT syntax being wrong

This commit is contained in:
Jared 2024-11-30 14:20:07 -07:00
parent 3397eb125a
commit cd9f534f2f
3 changed files with 3 additions and 3 deletions

View File

@ -2,5 +2,5 @@ plugins {
// see https://fabricmc.net/develop/ for new versions // see https://fabricmc.net/develop/ for new versions
id 'fabric-loom' version '1.8-SNAPSHOT' apply false id 'fabric-loom' version '1.8-SNAPSHOT' apply false
// see https://projects.neoforged.net/neoforged/moddevgradle for new versions // see https://projects.neoforged.net/neoforged/moddevgradle for new versions
id 'net.neoforged.moddev' version '2.0.44-beta' apply false id 'net.neoforged.moddev' version '2.0.49-beta' apply false
} }

View File

@ -8,7 +8,7 @@ neoForge {
// Automatically enable AccessTransformers if the file exists // Automatically enable AccessTransformers if the file exists
def at = file('src/main/resources/META-INF/accesstransformer.cfg') def at = file('src/main/resources/META-INF/accesstransformer.cfg')
if (at.exists()) { if (at.exists()) {
accessTransformers.add(at.absolutePath) accessTransformers.from(at.absolutePath)
} }
parchment { parchment {
minecraftVersion = parchment_minecraft minecraftVersion = parchment_minecraft

View File

@ -8,7 +8,7 @@ neoForge {
// Automatically enable neoforge AccessTransformers if the file exists // Automatically enable neoforge AccessTransformers if the file exists
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg') def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
if (at.exists()) { if (at.exists()) {
accessTransformers.add(at.absolutePath) accessTransformers.from(at.absolutePath)
} }
parchment { parchment {
minecraftVersion = parchment_minecraft minecraftVersion = parchment_minecraft