Fix mods with mixin not loading in dev env + dupe outside of dev env
This commit is contained in:
parent
c790bdef35
commit
e9a6b5cc72
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ jar {
|
||||||
attribute_map['FMLCorePlugin'] = project.coremod_plugin_class_name
|
attribute_map['FMLCorePlugin'] = project.coremod_plugin_class_name
|
||||||
if (project.include_mod.toBoolean()) {
|
if (project.include_mod.toBoolean()) {
|
||||||
attribute_map['FMLCorePluginContainsFMLMod'] = true
|
attribute_map['FMLCorePluginContainsFMLMod'] = true
|
||||||
|
attribute_map['ForceLoadAsMod'] = project.gradle.startParameter.taskNames[0] == "build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (project.use_mixins.toBoolean()) {
|
if (project.use_mixins.toBoolean()) {
|
||||||
|
|
Loading…
Reference in a new issue