[MCPE-22113] Sneak/unsneak cancelling from server issue Created: 29/May/17  Updated: 31/May/18  Resolved: 31/May/18

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.1.0.9
Fix Version/s: None

Type: Bug
Reporter: [MCPE Helper] Dylan K. Taylor
Resolution: Cannot Reproduce Votes: 1
Labels: None

Attachments: File demo.mp4    
Confirmation Status: Unconfirmed
Platform: Phone - Android - LG Other (Specify in description)
ADO: 70905

 Description   

I'm a developer of a custom server software which has a plugin API allowing plugins to control various things such as sneaking.

Previously, when a player started sneaking, resending their entity metadata without the sneak-flag set would cause the client to unsneak. OK so far.

As of 1.1.0.9 (possible also 1.0.x, the reporter didn't say and I didn't test on 1.0), the client unsneaks for a split-second, and then resends the sneak action to the server. Plugins which cancel the sneak event then end up with a client-server feedback loop.

I distinctly remember this worked just fine ~0.16.x, I'm not sure exactly when it became an issue. A demo video is attached. "cancel sneak!" message is sent to the client when the plugin cancels the sneak-event and resends the entity metadata without the sneak flag.

To clarify: Resending the entity metadata without the sneak flag when the player is sneaking ought to turn off sneaking client-side. Instead the client starts sneaking again and resends the start-sneak action.

References:



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 31/May/18 ]

Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki

Generated at Sat Jan 11 15:33:39 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.