BramStoutProductions / MiEx

A modern Minecraft Exporter
BSD 3-Clause "New" or "Revised" License
50 stars 6 forks source link

fix: Handle edge cases with version paths #42

Closed StandingPadAnimations closed 2 months ago

StandingPadAnimations commented 2 months ago

In some cases, paths with MultiMC and forks of MultiMC might have an additional / in between minecraft and the version folder. This adds a check for if the initial MultiMC path is incorrect and if so, add the / to handle it. This also adds extra null checks to avoid null pointer exceptions.