Skip to content

Config names are forced to lowercase even when json files are saved without forced lowercase #593

Description

@NanobotZ

Configs cause confusion due to current case handling.
Reloading configs forces their names to lowercase.

Example:
Create config ModLoaderConfig.create_config("MyMod", "MyConfig", {}.
Config gets saved as MyConfig.json.
ModLoader reloads configs.
Calling ModLoaderConfig.get_configs("MyMod") reveals a default and myconfig configs, and ModLoaderConfig.get_config("MyMod", "MyConfig") returns null.

name = _ModLoaderPath.get_file_name_from_path(_save_path, true, true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions