Skip to content

Adding downloadables removes comments from server.toml #91

@Newtbytes

Description

@Newtbytes

Example diff after adding Just Player Heads with mcman add modrinth:

- # MARK: Head Drops
[[mods]]
type = "modrinth"
id = "just-mob-heads"
version = "hbgvhaSJ"

+ [[mods]]
+ type = "modrinth"
+ id = "just-player-heads"
+ version = "kIVhv3YU"

It would be more convenient if mcman add/mcman import/etc. added mods while doing absolutely nothing else. I assume this is because its parsing the file into some data structure, adding the mod to the data structure, and writing it back with no consideration for concrete syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions