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

Notify client when velocity is changed #3718

Merged
merged 1 commit into from Aug 16, 2022

Conversation

Yeregorix
Copy link
Member

@Yeregorix Yeregorix commented Jul 2, 2022

Offering Keys.VELOCITY or Keys.SWIFTNESS now sets the hurtMarked field to indicate that the velocity has changed.
This field was named velocityChanged in mcp mapping : https://github.com/SpongePowered/Sponge/blob/stable-7/src/main/java/org/spongepowered/common/mixin/core/entity/EntityMixin.java#L543

Without this the velocity change is ignored.

@Zidane Zidane merged commit 073e15b into SpongePowered:api-8 Aug 16, 2022
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.

None yet

2 participants