mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix Forge run config generation
This commit is contained in:
@@ -113,6 +113,7 @@ public class RunConfig {
|
||||
|
||||
if (extension.isForge()) {
|
||||
runConfig.mainClass = "net.minecraftforge.userdev.LaunchTesting";
|
||||
runConfig.programArgs = "";
|
||||
} else if ("launchwrapper".equals(extension.getLoaderLaunchMethod())) {
|
||||
runConfig.mainClass = "net.minecraft.launchwrapper.Launch";
|
||||
runConfig.programArgs = "--tweakClass " + ("client".equals(mode) ? Constants.LaunchWrapper.DEFAULT_FABRIC_CLIENT_TWEAKER : Constants.LaunchWrapper.DEFAULT_FABRIC_SERVER_TWEAKER);
|
||||
|
||||
Reference in New Issue
Block a user