Fix AT syntax being wrong
This commit is contained in:
parent
3397eb125a
commit
cd9f534f2f
|
|
@ -2,5 +2,5 @@ plugins {
|
|||
// see https://fabricmc.net/develop/ for new versions
|
||||
id 'fabric-loom' version '1.8-SNAPSHOT' apply false
|
||||
// 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
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@ neoForge {
|
|||
// Automatically enable AccessTransformers if the file exists
|
||||
def at = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
if (at.exists()) {
|
||||
accessTransformers.add(at.absolutePath)
|
||||
accessTransformers.from(at.absolutePath)
|
||||
}
|
||||
parchment {
|
||||
minecraftVersion = parchment_minecraft
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ neoForge {
|
|||
// Automatically enable neoforge AccessTransformers if the file exists
|
||||
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
if (at.exists()) {
|
||||
accessTransformers.add(at.absolutePath)
|
||||
accessTransformers.from(at.absolutePath)
|
||||
}
|
||||
parchment {
|
||||
minecraftVersion = parchment_minecraft
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user