mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
Only setup local mods on forge
Signed-off-by: shedaniel <daniel@shedaniel.me>
This commit is contained in:
@@ -149,9 +149,12 @@ public abstract class LoomGradleExtensionApiImpl implements LoomGradleExtensionA
|
||||
baseName -> new LaunchProviderSettings(project, baseName));
|
||||
this.forgeLocalMods = project.container(ForgeLocalMod.class,
|
||||
baseName -> new ForgeLocalMod(project, baseName, new ArrayList<>()));
|
||||
localMods(mod -> {
|
||||
mod.create("main").add("main");
|
||||
});
|
||||
|
||||
if (isForge()) {
|
||||
localMods(mod -> {
|
||||
mod.create("main").add("main");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user