Fix mods with mixin not loading in dev env + dupe outside of dev env

This commit is contained in:
Rongmario 2022-07-15 13:07:04 +01:00
parent c790bdef35
commit e9a6b5cc72

View file

@ -105,6 +105,7 @@ jar {
attribute_map['FMLCorePlugin'] = project.coremod_plugin_class_name
if (project.include_mod.toBoolean()) {
attribute_map['FMLCorePluginContainsFMLMod'] = true
attribute_map['ForceLoadAsMod'] = project.gradle.startParameter.taskNames[0] == "build"
}
}
if (project.use_mixins.toBoolean()) {