Print the Minecraft window size on launch.
This commit is contained in:
parent
376467740b
commit
56b16320dd
@ -83,7 +83,7 @@ public class OneSixLauncher implements Launcher
|
|||||||
} catch (NumberFormatException ignored) {}
|
} catch (NumberFormatException ignored) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void printStats()
|
private void printStats()
|
||||||
{
|
{
|
||||||
Utils.log("Main Class:");
|
Utils.log("Main Class:");
|
||||||
@ -126,8 +126,13 @@ public class OneSixLauncher implements Launcher
|
|||||||
Utils.log("Params:");
|
Utils.log("Params:");
|
||||||
Utils.log(" " + mcparams.toString());
|
Utils.log(" " + mcparams.toString());
|
||||||
Utils.log();
|
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()
|
int legacyLaunch()
|
||||||
{
|
{
|
||||||
// Get the Minecraft Class and set the base folder
|
// Get the Minecraft Class and set the base folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user