From b30a97d4c9315e482341ec863dc5722bf78c4631 Mon Sep 17 00:00:00 2001 From: Sky Date: Mon, 7 Oct 2013 14:56:14 +0100 Subject: [PATCH] Make starting window size set properly on 1.6 instances --- logic/OneSixInstance.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index c5d546a38..a2a6bf173 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -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);