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

    3.x4.xbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions