Skip to content

Shop reload keeps deleted shops and items in memory #13

Description

@CYooBin10

Labels: medium, bug, configuration, data-consistency

Description

ShopManager.reload() merges file data into the existing in-memory state.

It does not remove shops or items that were deleted from shops.json.

Impact

  • Deleted shops remain available in memory.
  • Deleted items can remain purchasable until restart.
  • Runtime state differs from the configuration file.
  • Administrators cannot reliably reload shop configuration.

Expected behavior

Validate the new file and replace the complete in-memory shop state after successful validation.

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