Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #59
Currently when installing a modpack, before downloading the mod files it tries to obtain the slug.
The only place this slug is then used is if it fails to find the download URL.
To actually obtain the download URL, it uses the project ID and file ID provided by the modpack manifest. There is no need for the slug at all.
This causes the installation of a modpack to fail if the mod is not yet in the database, even though if it didn't look up the slug it would be able to determine the download URL and successfully install the modpack.