-
Notifications
You must be signed in to change notification settings - Fork 94
Description
Hello,
I recently encountered an issue with the latest DevBuild of DeluxeMenus regarding the management of commands in the open_command section.
When multiple commands are defined in the open_command: section, some of them do not work correctly. This prevents players from using all the configured commands to open menus.
Among the defined commands, only the first one in the list displays the latest version of the menu. The other commands display an outdated version of the menu, from the last server restart.
This bug occurs only when the register_command: true option is enabled for a menu.
Steps to reproduce the bug:
- Define multiple commands in
open_command:and enable theregister_command: trueoption. - Restart the server, modify the menu, and then execute
/dm reload. - Open the menu using the defined commands. Only the first command in the list displays the updated menu, while the others display an older version of this menu.
Expected behavior:
All listed commands should display the current menu, not an outdated version of this menu.
Additional information:
- DeluxeMenus version:
1.14.1-DEV-PR--ee7573d0 - Server version: Fork of Paper (1.21.3)
- Configuration used:
open_command:
- caisse
- caisses
register_command: true- Video example:
- The not outdated menu have dirt, bcs I open with
/caissecommand, so the first command defined. - The outdated menu doesn't have dirt, bcs I open with
/caissescommand, so the second command defined.
- The not outdated menu have dirt, bcs I open with
2025-01-12.01-11-44.mp4
Thank you in advance for your help!