Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Added missing MoveToHotbarAction value for the swap with off-hand inventory action. #682

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

blablubbabc
Copy link
Contributor

This inventory action is triggered when a player has their inventory open and clicks on some slot with the F key.
This case is also documented here: https://wiki.vg/Protocol#Click_Window

I noticed this because client sessions in a simple private Minecraft server proxy that uses this library were silently (without stack trace or anything) closed whenever the player uses this inventory action. Adding this MoveToHotbarAction value was confirmed to resolve the issue.

Copy link
Member

@Camotoy Camotoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Camotoy Camotoy merged commit 15df12a into GeyserMC:master Jan 11, 2022
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.

2 participants