Minecraft version names contain dots, but Rust's PathBuf interprets it as an extension which is being changed in theseus/src/launcher/download.rs on line 26 to json. This messes up version names in files as shown in this image:

However when starting the game, the version jar file is added to the classpath as 1.18.2-0.13.3.jar, causing an error on Fabric and a crash on vanilla.

One not too elegant but working solution would be to just use PathBuf#push to append the .json and the .jar extension to the filename.
Minecraft version names contain dots, but Rust's PathBuf interprets it as an extension which is being changed in


theseus/src/launcher/download.rson line 26 to json. This messes up version names in files as shown in this image:However when starting the game, the version jar file is added to the classpath as
1.18.2-0.13.3.jar, causing an error on Fabric and a crash on vanilla.One not too elegant but working solution would be to just use PathBuf#push to append the .json and the .jar extension to the filename.