Fix broken assetIndex with versions with spaces

dev/0.11
modmuss50 2019-04-11 18:58:40 +01:00
parent 9eb9978390
commit 60ec4c1fdb
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class RunConfig {
RunConfig ideaClient = new RunConfig();
populate(project, extension, ideaClient, "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();
return ideaClient;