Stopping the inclusion of TweakClass metadata

This commit is contained in:
Rongmario 2023-02-13 10:12:44 +00:00
parent 0263175cf0
commit bebb74e316

View file

@ -111,9 +111,6 @@ jar {
attribute_map['FMLCorePluginContainsFMLMod'] = true attribute_map['FMLCorePluginContainsFMLMod'] = true
attribute_map['ForceLoadAsMod'] = project.gradle.startParameter.taskNames[0] == "build" attribute_map['ForceLoadAsMod'] = project.gradle.startParameter.taskNames[0] == "build"
} }
}
if (project.use_mixins.toBoolean()) {
attribute_map['TweakClass'] = 'org.spongepowered.asm.launch.MixinTweaker'
} }
if (project.use_access_transformer.toBoolean()) { if (project.use_access_transformer.toBoolean()) {
attribute_map['FMLAT'] = project.archives_base_name + '_at.cfg' attribute_map['FMLAT'] = project.archives_base_name + '_at.cfg'