Skip to content

Fix phantom going at high speed when ridden#1680

Merged
granny merged 1 commit into
PurpurMC:ver/1.21.6from
mxuexe:ver/1.21.6
Jun 29, 2025
Merged

Fix phantom going at high speed when ridden#1680
granny merged 1 commit into
PurpurMC:ver/1.21.6from
mxuexe:ver/1.21.6

Conversation

@mxuexe

@mxuexe mxuexe commented Jun 29, 2025

Copy link
Copy Markdown
Contributor

As explained in Discord, the old code keeps leftover movement each tick, which adds up and makes the phantom go faster and faster.

  • Resetting it to Vec3.ZERO which clears it and the phantom will move as much as it's told.

@granny granny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR!

@granny granny merged commit dfd8a7a into PurpurMC:ver/1.21.6 Jun 29, 2025
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.

2 participants