Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only look up slug on download fail #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

1JackBlack1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slug not found during modpack installMods
1 participant