You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Player#closeInventory is executed for a Bedrock player, it closes the open inventory in server-side, but Bedrock client will still have the inventory GUI open. This leads to a desync.
To Reproduce
Create a command that waits 2-3 seconds after its usage then executes Player#closeInventory. Preferably add Player#getCurrentInventory debugs before and after the wait.
Execute the command and open any GUI like player inventory, chest inventory or crafting inventory.
After set wait seconds, GUI will be closed in server-side but client will still see it.
Expected behaviour
GUI should be closed in both sides, server and client.
Screenshots / Videos
No response
Server Version and Plugins
No response
Geyser Dump
No response
Geyser Version
1.2.0-SNAPSHOT
Minecraft: Bedrock Edition Device/Version
Latest
Additional Context
No response
The text was updated successfully, but these errors were encountered:
bilektugrul
changed the title
Player#closeInventory does not work for Bedrock players
Player#closeInventory does not work in client-side for Bedrock players
Jan 4, 2025
Marking as confirmed - bedrock unfortunately broke this in an odd way where only some containers (e.g. chests can be closed via the method we used before). I'm working on implementing hacky alternatives wherever possible, however, closing the player inventory might not be possible nowadays :(
Marking as confirmed - bedrock unfortunately broke this in an odd way where only some containers (e.g. chests can be closed via the method we used before). I'm working on implementing hacky alternatives wherever possible, however, closing the player inventory might not be possible nowadays :(
Please let me know about ETAs if you can provide. Thanks for the work.
Describe the bug
When Player#closeInventory is executed for a Bedrock player, it closes the open inventory in server-side, but Bedrock client will still have the inventory GUI open. This leads to a desync.
To Reproduce
Expected behaviour
GUI should be closed in both sides, server and client.
Screenshots / Videos
No response
Server Version and Plugins
No response
Geyser Dump
No response
Geyser Version
1.2.0-SNAPSHOT
Minecraft: Bedrock Edition Device/Version
Latest
Additional Context
No response
The text was updated successfully, but these errors were encountered: