summaryrefslogtreecommitdiffstats
path: root/depends/launcher/org/multimc/onesix
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-08-13 04:44:19 +0200
committerPetr Mrázek <peterix@gmail.com>2014-08-13 04:44:19 +0200
commit56b16320dd45003112fda059a0c62d7e9ec6ab73 (patch)
tree04e53d4960270860f95516e329c77e6dc293206b /depends/launcher/org/multimc/onesix
parent376467740b7aa5eed371f6dde8d720f950a3187c (diff)
downloadMultiMC-56b16320dd45003112fda059a0c62d7e9ec6ab73.tar
MultiMC-56b16320dd45003112fda059a0c62d7e9ec6ab73.tar.gz
MultiMC-56b16320dd45003112fda059a0c62d7e9ec6ab73.tar.lz
MultiMC-56b16320dd45003112fda059a0c62d7e9ec6ab73.tar.xz
MultiMC-56b16320dd45003112fda059a0c62d7e9ec6ab73.zip
Print the Minecraft window size on launch.
Diffstat (limited to 'depends/launcher/org/multimc/onesix')
-rw-r--r--depends/launcher/org/multimc/onesix/OneSixLauncher.java9
1 files changed, 7 insertions, 2 deletions
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