From b7f45281db51abbd800324174bcadb0f419231a2 Mon Sep 17 00:00:00 2001 From: Tyler Hancock Date: Fri, 24 Sep 2021 02:16:48 -0600 Subject: [PATCH] Remove hardcoded modid from Forge run generation. --- Forge/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Forge/build.gradle b/Forge/build.gradle index 5af4923..60a50e8 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -27,7 +27,7 @@ minecraft { workingDirectory project.file('run') ideaModule "${rootProject.name}.${project.name}.main" mods { - examplemod { + modClientRun { source sourceSets.main source project(":Common").sourceSets.main } @@ -38,7 +38,7 @@ minecraft { workingDirectory project.file('run') ideaModule "${rootProject.name}.${project.name}.main" mods { - examplemod { + modServerRun { source sourceSets.main source project(":Common").sourceSets.main } @@ -50,7 +50,7 @@ minecraft { ideaModule "${rootProject.name}.${project.name}.main" args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') mods { - examplemod { + modDataRun { source sourceSets.main source project(":Common").sourceSets.main }