From e9a6b5cc728041a1f52b84ff436ee60422904f01 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Fri, 15 Jul 2022 13:07:04 +0100 Subject: [PATCH] Fix mods with mixin not loading in dev env + dupe outside of dev env --- build.gradle | 1 + 1 file changed, 1 insertion(+) 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()) {