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

Spigot API's setGliding(true) / cancelling ungliding (using EntityGlideToggleEvent) doesn't work for Bedrock players. #2339

Closed
Xemorr opened this issue Jun 29, 2021 · 1 comment

Comments

@Xemorr
Copy link

Xemorr commented Jun 29, 2021

Describe the bug

A common way of allowing players to use an elytra without wearing them is to set their gliding to true and then listen to the EntityToggleGlideEvent and only allow them to be set back to Gliding = false if they hit the ground etc. This doesn't work on a bedrock player unless they wear an elytra and then the code is executed on them. However, they can see other java players gliding without the elytra on, so it seems like it might not be a limitation, but a bug with the Geyser project.

To Reproduce

setGliding to true on the player
Cancel the event in EntityToggleGlideEvent
Notice how it works on Java players but not on Bedrock players

Expected behaviour

The Bedrock player will glide without needing to wear an elytra!

Screenshots / Videos

https://gyazo.com/be5067af897afd2b98a4b47870aaf0e5 (Bedrock Player, the velocity isn't relevant to the bug report)
https://gyazo.com/302623d301acb8719a2e348c111c4a64 (Java Player)

Server Version and Plugins

image
I have noticed it not working ever since 1.16 Paper though, so I don't think this is particularly relevant!

Geyser Dump

https://dump.geysermc.org/McaSf74l1pa8qclGYX8U6EBWJ2E4ywRL

Geyser Version

Geyser version 1.4.0-SNAPSHOT

Minecraft: Bedrock Edition Version

1.17.2

Additional Context

N/A

@Redned235
Copy link
Member

We've recently done a large refactor to our entity system which may resolve this issue. Please open a new issue w/ updated reproduction steps / dump if this still occurs.

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

No branches or pull requests

2 participants