Fix broken assetIndex with versions with spaces
parent
9eb9978390
commit
60ec4c1fdb
|
@ -151,7 +151,7 @@ public class RunConfig {
|
||||||
RunConfig ideaClient = new RunConfig();
|
RunConfig ideaClient = new RunConfig();
|
||||||
populate(project, extension, ideaClient, "client");
|
populate(project, extension, ideaClient, "client");
|
||||||
ideaClient.configName = "Minecraft Client";
|
ideaClient.configName = "Minecraft Client";
|
||||||
ideaClient.programArgs += " --assetIndex " + minecraftVersionInfo.assetIndex.getFabricId(extension.getMinecraftProvider().minecraftVersion) + " --assetsDir \"" + new File(extension.getUserCache(), "assets").getAbsolutePath() + "\"";
|
ideaClient.programArgs += " --assetIndex \"" + minecraftVersionInfo.assetIndex.getFabricId(extension.getMinecraftProvider().minecraftVersion) + "\" --assetsDir \"" + new File(extension.getUserCache(), "assets").getAbsolutePath() + "\"";
|
||||||
ideaClient.vmArgs += getOSClientJVMArgs();
|
ideaClient.vmArgs += getOSClientJVMArgs();
|
||||||
|
|
||||||
return ideaClient;
|
return ideaClient;
|
||||||
|
|
Loading…
Reference in New Issue