Skip to content

isSprinting() and setSprinting() methods dont work correctly, #10407

@Dueris

Description

@Dueris

Expected behavior

Im able to check if a player is sprinting, and set if they are sprinting.

Observed/Actual behavior

Both do not work. If I check if the player is sprinting and I am sprinting, it returns false. it seems the client and server are somewhat out of sync when it comes to this, since after using setSprinting(boolean), the isSprinting() method is updated.

Steps/models to reproduce

Just run either of those methods anywhere, it wont work correctly.

Plugin and Datapack List

GenesisMC, playit-gg, SkinsRestorer, Terra

Paper version

git-Paper-478 -- latest avalible on 4/10/2024: 4:35pm PST

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: works as intendedWorking as it should / expected totype: bugSomething doesn't work as it was intended to.

    Type

    No fields configured for Bug.

    Projects

    Status

    Invalid

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions