Skip to content

Fix MMOITems lore duplication issue#278

Open
BlitzOffline wants to merge 2 commits into
mainfrom
improvements
Open

Fix MMOITems lore duplication issue#278
BlitzOffline wants to merge 2 commits into
mainfrom
improvements

Conversation

@BlitzOffline
Copy link
Copy Markdown
Member

Closes #277

This fixes 2 issues:

  1. MMOItem item lores being duplicated after a [refresh] or menu reopen.
  2. Menu commands sometimes not being properly registered.

The first issue was caused because the items were not always cloned.
The second issue was caused because command registration was delayed using a scheduler. This issue was added with Folia support. In case menu registration starts to fail on Folia now, we may need to schedule the registration but only when the server is Folia.

Tested by a person in discord: https://discord.com/channels/164280494874165248/1381994944960401501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lore duplicated after using [refresh] action with MMO Items

1 participant