Skip to content

Category slots are not validated before insertion into the menu #12

Description

@CYooBin10

Labels: high, bug, crash, configuration

Description

The create command accepts any digit-only slot but does not ensure that the slot is within the 27-slot category inventory.

It also does not check whether another category already occupies the same slot.

Impact

  • Out-of-range slots may cause inventory API exceptions.
  • Categories can overwrite one another.
  • Invalid values in shops.json can crash menu creation.

Expected behavior

Require category slots to be within the valid range, reject duplicate slots, and validate slot values again when loading the configuration.

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