Print the Minecraft window size on launch.

This commit is contained in:
Petr Mrázek 2014-08-13 04:44:19 +02:00
parent 376467740b
commit 56b16320dd

View File

@ -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