EngineHub / EngineHub/CommandHelper

pfacing resets player velocity to 0

Open
#1,338 2 comments 0 reactions 0 assignees View on GitHub
bug discussion wanted
Dominant language
Java
Stars
128
Forks
70
PR merge metrics
No merged PRs in 30d

Description

As this is a commonly used function, this can be used to avoid fall damage when run just before landing. Player velocity should be looked up before the location set, then set back to that immediately afterwards. In the meantime, this can be worked around by doing this in code, but this shouldn't be necessary. Untested, but likely works with set_ploc as well, though perhaps this is not a problem.

Discussion wanted, as this is a breaking change.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.