Skip to content

Fix getForwards/SidewaysMovement for players#12140

Merged
lynxplay merged 3 commits into
PaperMC:mainfrom
Warriorrrr:fix/player-forwards-sideways-movement
Feb 18, 2025
Merged

Fix getForwards/SidewaysMovement for players#12140
lynxplay merged 3 commits into
PaperMC:mainfrom
Warriorrrr:fix/player-forwards-sideways-movement

Conversation

@Warriorrrr
Copy link
Copy Markdown
Member

Closes #12139

@Warriorrrr Warriorrrr added type: bug Something doesn't work as it was intended to. scope: api labels Feb 17, 2025
@Warriorrrr Warriorrrr requested a review from a team as a code owner February 17, 2025 15:05
Copy link
Copy Markdown
Contributor

@lynxplay lynxplay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved outside of the if branch styling.

@Lulu13022002
Copy link
Copy Markdown
Contributor

Maybe getUpwardsMovement could be overriden too for consistency even if the javadocs say otherwise.
Can you also format the javadocs to make proper list (or at least newlines inbetween) currently the list is flattened.

@lynxplay
Copy link
Copy Markdown
Contributor

Don't think we need to go further than sidewards/forward.
The new way of this is going to be the player input that is exposed.
We can obsolete them on Player in a follow up PR if we want but yea.

@lynxplay lynxplay merged commit 09f1f88 into PaperMC:main Feb 18, 2025
@Warriorrrr Warriorrrr deleted the fix/player-forwards-sideways-movement branch February 18, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: api type: bug Something doesn't work as it was intended to.

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

Player#getForwardsMovement/getSidewaysMovement is not updated

4 participants