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

Container windows aren't closed by the server when the player is too far away #6349

Open
dktapps opened this issue May 22, 2024 · 1 comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Type: Enhancement Contributes features or other improvements to PocketMine-MP

Comments

@dktapps
Copy link
Member

dktapps commented May 22, 2024

Description

If the player opens an inventory window and moves away from the container (e.g. by water currents), they will still be able to interact with the container inventory from any distance as long as they don't do certain actions (e.g. breaking blocks).

We should probably have a distance check to close the window when the player goes too far away. However I don't know what the appropriate distance would be.

Alternative methods

@dktapps dktapps added Category: Gameplay Related to Minecraft gameplay experience Type: Enhancement Contributes features or other improvements to PocketMine-MP labels May 22, 2024
@CoderJoeW
Copy link

Vanilla seems to be 12 blocks away is when I got kicked out of the container window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Type: Enhancement Contributes features or other improvements to PocketMine-MP
Projects
None yet
Development

No branches or pull requests

2 participants