Skip to content

mod.update.all does not handle dependencies for updated mods #41

@mgziminsky

Description

@mgziminsky

The mod update command does not check the dependencies for the new versions of mods being set. So any new dependencies of updated mods will not be added to the pack, breaking it.

mcdex/modpack.go

Lines 425 to 428 in 17c0ecc

// Save the more recent file ID
child.Set(latestFile.fileID, "fileID")
child.Set(latestFile.modName, "desc")
fmt.Printf("Updating %s: %d -> %d\n", latestFile.modName, fileID, latestFile.fileID)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions