From c790bdef3545af4a6101f3df6857dbcd81a78021 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Thu, 26 May 2022 12:05:56 +0100 Subject: [PATCH] New property "include_mod" to make sure mods work alongside coremods --- build.gradle | 3 +++ gradle.properties | 1 + 2 files changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 194c9ab..c7e33b2 100644 --- a/build.gradle +++ b/build.gradle @@ -103,6 +103,9 @@ jar { def attribute_map = [:] if (project.use_coremod.toBoolean()) { attribute_map['FMLCorePlugin'] = project.coremod_plugin_class_name + if (project.include_mod.toBoolean()) { + attribute_map['FMLCorePluginContainsFMLMod'] = true + } } if (project.use_mixins.toBoolean()) { attribute_map['TweakClass'] = 'org.spongepowered.asm.launch.MixinTweaker' diff --git a/gradle.properties b/gradle.properties index 845131c..2e636e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,4 +15,5 @@ use_coremod = false use_assetmover = false # Coremod Arguments +include_mod = true coremod_plugin_class_name = \ No newline at end of file