You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the launch script for vanilla Minecraft, to include fabric libs in classpath, additional flags, etc... but the loader fails to launch with the following error:
net.fabricmc.loader.impl.FormattedException: joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option version, but you asked for only one
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric1.21.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:472) ~[fabric1.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric1.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric1.21.jar:?]
Caused by: joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option version, but you asked for only one
at joptsimple.OptionSet.valueOf(OptionSet.java:179) ~[jopt-simple-5.0.4.jar:?]
at net.minecraft.client.main.Main.a(SourceFile:286) ~[1.21.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:104) ~[1.21.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric1.21.jar:?]
... 2 more
My installation is bare minimum for launching vanilla minecraft, but I also installed fabric required libs and jars, my directory structure looks like this:
[SOLUTION] For now the solution is just replace equal signs with spaces
It was happening because Arguments::parse is unable to process args in a form of --argument=value (it only accepts --argument value) and thus arguments get duplicated in MinecraftGameProvider::processArgumentMap
Not sure if I should close the issue though the solution is found, as it may be classified as a bug or a lack of feature because vanilla Minecraft supports both of argument formats
The command used to launch the game is:
I modified the launch script for vanilla Minecraft, to include fabric libs in classpath, additional flags, etc... but the loader fails to launch with the following error:
My installation is bare minimum for launching vanilla minecraft, but I also installed fabric required libs and jars, my directory structure looks like this:
It appears that
fabric1.21.jar
sets its own flags including--version
and--accessToken
. What am I missing?Full classpath (SPOILER)
The text was updated successfully, but these errors were encountered: