From 56b16320dd45003112fda059a0c62d7e9ec6ab73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 13 Aug 2014 04:44:19 +0200 Subject: Print the Minecraft window size on launch. --- depends/launcher/org/multimc/onesix/OneSixLauncher.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'depends/launcher') diff --git a/depends/launcher/org/multimc/onesix/OneSixLauncher.java b/depends/launcher/org/multimc/onesix/OneSixLauncher.java index 0e8af513..62da3193 100644 --- a/depends/launcher/org/multimc/onesix/OneSixLauncher.java +++ b/depends/launcher/org/multimc/onesix/OneSixLauncher.java @@ -83,7 +83,7 @@ public class OneSixLauncher implements Launcher } catch (NumberFormatException ignored) {} } } - + private void printStats() { Utils.log("Main Class:"); @@ -126,8 +126,13 @@ public class OneSixLauncher implements Launcher Utils.log("Params:"); Utils.log(" " + mcparams.toString()); Utils.log(); + if(maximize) + Utils.log("Window size: max (if available)"); + else + Utils.log("Window size: " + Integer.toString(winSize.width) + " x " + Integer.toString(winSize.height)); + Utils.log(); } - + int legacyLaunch() { // Get the Minecraft Class and set the base folder -- cgit v1.2.3