Skip to content

Only send callback command when needed#866

Merged
WouterGritter merged 2 commits into
libdeflatefrom
only-send-callback-command-when-needed
May 12, 2026
Merged

Only send callback command when needed#866
WouterGritter merged 2 commits into
libdeflatefrom
only-send-callback-command-when-needed

Conversation

@WouterGritter
Copy link
Copy Markdown
Collaborator

Branches off of #865 (should be merged first)

Only add/inject Velocity's velocity:callback command to the AvailableCommandsPacket when needed (when one or more click callback has been registered through Adventure's API). Velocity does not register any click-callbacks itself; callbacks will only be registered if plugins make use of the feature (i.e. if no plugins use this feature, we never send this command to the player, this avoids clutter on command tabcompletion).

…leCommandsPacket when needed (when one or more click callback has been registered through Adventure's API). Velocity does not register any click-callbacks itself; callbacks will only be registered if plugins make use of the feature (i.e. if no plugins use this feature, we never send this command to the player, this avoids clutter on command tabcompletion)
@WouterGritter WouterGritter force-pushed the only-send-callback-command-when-needed branch from 9d31eb3 to 2888bf1 Compare May 12, 2026 14:35
@WouterGritter WouterGritter merged commit c277897 into libdeflate May 12, 2026
1 check passed
@WouterGritter WouterGritter deleted the only-send-callback-command-when-needed branch May 12, 2026 15:02
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