Change default enviroment arguments to oml
This commit is contained in:
parent
4f5d72d82f
commit
db3ff955e5
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ public class GenIdeaProjectTask extends DefaultTask {
|
|||
ideaClient.projectName = project.getName();
|
||||
ideaClient.configName = "Minecraft Client";
|
||||
ideaClient.runDir = "file://$PROJECT_DIR$/" + extension.runDir;
|
||||
ideaClient.vmArgs = "-Djava.library.path=" + Constants.MINECRAFT_NATIVES.get(extension).getAbsolutePath() + " -Dfabric.development=true";
|
||||
ideaClient.vmArgs = "-Djava.library.path=" + Constants.MINECRAFT_NATIVES.get(extension).getAbsolutePath() + " -Doml.development=true";
|
||||
ideaClient.programArgs = "--tweakClass com.openmodloader.loader.launch.OpenClientTweaker --assetIndex " + version.assetIndex.id + " --assetsDir " + new File(extension.getUserCache(), "assets-" + extension.version).getAbsolutePath();
|
||||
|
||||
runManager.appendChild(ideaClient.genRuns(runManager));
|
||||
|
@ -149,7 +149,7 @@ public class GenIdeaProjectTask extends DefaultTask {
|
|||
ideaServer.projectName = project.getName();
|
||||
ideaServer.configName = "Minecraft Server";
|
||||
ideaServer.runDir = "file://$PROJECT_DIR$/" + extension.runDir;
|
||||
ideaServer.vmArgs = "-Dfabric.development=true";
|
||||
ideaServer.vmArgs = "-Doml.development=true";
|
||||
ideaServer.programArgs = "--tweakClass com.openmodloader.loader.launch.OpenServerTweaker";
|
||||
|
||||
runManager.appendChild(ideaServer.genRuns(runManager));
|
||||
|
|
Loading…
Reference in a new issue