fix: allow demo for older versions

We were not propagating the '--demo' flag in the legacy launcher,
unconditionally setting the 'demo' parameter to false.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-07-13 15:45:41 -03:00
parent 29dcb9d274
commit 5765a1fdf1
2 changed files with 5 additions and 3 deletions

View File

@ -137,7 +137,8 @@ public final class OneSixLauncher implements Launcher {
winSizeH,
maximize,
serverAddress,
serverPort
serverPort,
mcParams.contains("--demo")
);
return;