Fix runClient

dev/0.11
modmuss50 2018-05-14 14:47:43 +01:00
parent ae97990aaa
commit 66c043f171
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public class RunClientTask extends JavaExec {
List<String> args = new ArrayList<>(); List<String> args = new ArrayList<>();
args.add("-Djava.library.path=" + Constants.MINECRAFT_NATIVES.get(extension).getAbsolutePath()); args.add("-Djava.library.path=" + Constants.MINECRAFT_NATIVES.get(extension).getAbsolutePath());
args.add("-Dfabric.development=true"); args.add("-Dfabric.development=true");
args.add("-XstartOnFirstThread"); //Fixes lwjgl starting on an incorrect thread
return args; return args;
} }