Files
Kim2091 6a3d08c68a fix: only pass the demo applet parameter when launching the demo
The first versions with demo support (12w16a to 12w18a) enable demo mode
whenever the applet's demo parameter is present, ignoring its value:

    if (getParameter("demo") != null)
        minecraft.setDemo(true);

LegacyFrame always set the parameter, and the boolean overload stores the
string "false", which getParameter returns as non-null. Those versions
therefore ran in demo mode on every launch, including for accounts that
own the game. Set the parameter only when the demo was requested.

Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Kim2091 <jpavatargirl@gmail.com>
2026-09-08 19:47:33 -05:00
..
2022-11-19 13:59:22 +00:00
2022-06-15 10:15:35 +02:00