This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
[BUG] Updating mods randomly fail to download, making Minecraft not launchable #139
Labels
bug
Something isn't working
Describe the bug
Updating mods using Mod Manager have a chance to fail, it seems completely random from my observations. I noticed that clicking "Update All" has the highest chance for the bug to happen, but that may be a coincidence.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Mod should be just updated.
Please complete the following information:
Logs
Additional context
I found that the failed downloaded file was 0B in size. I have in idea for a work around this issue. If I understand it correctly, this mod removes the original file and then downloads new one directly into mods folder. To prevent that issue affecting launching the game, this mod could download the mods first into temporary folder and when everything downloads correctly, it will remove original files and just move already downloaded files into mods folder. It could check if file size is at least like 5B or something to determine if mod was downloaded correctly or not.
The text was updated successfully, but these errors were encountered: