Make starting window size set properly on 1.6 instances
This commit is contained in:
parent
58547d3867
commit
b30a97d4c9
@ -143,6 +143,10 @@ MinecraftProcess *OneSixInstance::prepareForLaunch(LoginResponse response)
|
||||
args << version->mainClass;
|
||||
args.append(processMinecraftArgs(response));
|
||||
|
||||
// Set the width and height for 1.6 instances
|
||||
args << QString("--width") << settings().get("MinecraftWinWidth").toString();
|
||||
args << QString("--height") << settings().get("MinecraftWinHeight").toString();
|
||||
|
||||
// create the process and set its parameters
|
||||
MinecraftProcess *proc = new MinecraftProcess(this);
|
||||
proc->setMinecraftArguments(args);
|
||||
|
Loading…
Reference in New Issue
Block a user