Skip to content

Conversation

JaiChoccyFox
Copy link
Contributor

PR #18 includes a commit (4cbdd83) to remove the --noParameters switch. I accidentally overlooked the fact that I had also removed the for loop which was necessary to append the rest of the wrapper's parameters to the end of the arguments list. This is a quick patch to address that by re-adding the for loop. All parameters were otherwise parsed just fine when set by a launcher/user.

This fixes problems with versions that expected certain parameters to always be present. Example: connecting to a server on Classic versions would result in a NPE being thrown because mppass was not being passed to the client's arguments.

The wrapper keeps track of a bunch of launch parameters for itself and those to be passed to a client/server, however, the recent update to how arguments are handled did not include the necessary for loop to append said parameters. This meant that arguments set by a launcher/user are parsed as normal, but the wrapper never appended its parameters to the end of the arguments list. This broke versions which expected parameters such as 'mppass' to always be present.
@Lassebq Lassebq closed this in 3e4993a Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant