Skip to content

Fix LivingEntity#knockback ignored when its Player#13842

Open
Doc94 wants to merge 1 commit intoPaperMC:mainfrom
Doc94:fix/13840-player-knockback
Open

Fix LivingEntity#knockback ignored when its Player#13842
Doc94 wants to merge 1 commit intoPaperMC:mainfrom
Doc94:fix/13840-player-knockback

Conversation

@Doc94
Copy link
Copy Markdown
Member

@Doc94 Doc94 commented Apr 30, 2026

Closes #13840 by using the player hurtMarked for apply the update to movement, this its only necesary for Players.

PS: In this PR i notice a bucle when try to cancel PlayerVelocityEvent when test this, because the method cause a call of that event.. but this is related to another thing in a sync step...

@Doc94 Doc94 requested a review from a team as a code owner April 30, 2026 13:50
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

LivingEntity#knockback does not work for players

2 participants