Skip to content

Fix/bugs#4

Merged
tickwarden merged 2 commits into
mainfrom
fix/bugs
May 17, 2026
Merged

Fix/bugs#4
tickwarden merged 2 commits into
mainfrom
fix/bugs

Conversation

@tickwarden
Copy link
Copy Markdown
Collaborator

No description provided.

Claude added 2 commits May 17, 2026 07:49
After toggle actions ran, the inventory was never refreshed — the player
saw the initial item regardless of tag state. Fix: after toggle action
chain completes (without a close/navigate action breaking it), reopen
the same GUI page so buildInventory re-evaluates the tag and renders
the correct item/name/lore.
…tcher

Command dispatcher execution is async relative to inventory rebuild —
tag @s add/remove was not guaranteed to be reflected by the time
buildInventory re-evaluated player.getCommandTags(). Fix: flip the tag
directly with player.addCommandTag()/removeCommandTag() synchronously,
then skip the auto-generated default tag commands in the action chain,
then reopen. Custom side-effect actions (non-tag commands, messages)
still execute normally.
@tickwarden tickwarden merged commit 120f495 into main May 17, 2026
1 check passed
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.

1 participant