mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 13:26:58 +03:00
Print the Minecraft window size on launch.
This commit is contained in:
parent
376467740b
commit
56b16320dd
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue