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

Fix: Server-side requested container closing #5346

Merged
merged 8 commits into from
Feb 18, 2025

Conversation

onebeastchris
Copy link
Member

Bedrock broke the ContainerClosePacket. Hurray.

This works around that by either breaking (and replacing) the original container block, or, in the player inventory case, by placing a nether portal into the player. This, in my testing, was the only way to get the player to close its player inventory.

@onebeastchris onebeastchris marked this pull request as ready for review February 16, 2025 15:29
@onebeastchris onebeastchris merged commit 7448a99 into GeyserMC:master Feb 18, 2025
2 checks 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.

Player#closeInventory does not work in client-side for Bedrock players
1 participant