summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logic/OneSixInstance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp
index c5d546a3..a2a6bf17 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);