diff --git a/build.gradle b/build.gradle index c7e33b2..30f1347 100644 --- a/build.gradle +++ b/build.gradle @@ -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()) {