mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-09-14 15:15:38 -04:00
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>