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.
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
shops.jsoncan 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.