Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple mobs movement while resting #18200

Closed
MarsM0nd opened this issue Jul 3, 2022 · 0 comments · Fixed by #18203
Closed

Simple mobs movement while resting #18200

MarsM0nd opened this issue Jul 3, 2022 · 0 comments · Fixed by #18203

Comments

@MarsM0nd
Copy link
Contributor

MarsM0nd commented Jul 3, 2022

Issue Description:

When a simple mob rests, buckles to a chair, and unbuckles, they can move even though they are still resting, and their rest should stop movement.

What did you expect to happen:

For them to be in either state, not resting and able to move, or resting and not able to move

What happened instead:

Didn't have movement blocked, even though the rest of the effects of laying down applied

Why is this bad/What are the consequences:

Inconsistent behaviour

Steps to reproduce the problem:

Spawn in as simple mob, rest on a chair, buckle in, unbuckle, move

When did the problem start happening:

Probably since #17899, as humans can move while laying down, so unbuckling from a chair while still resting doesn't re-add the immobilized trait

Extra information:

Mob gets uiblocked, pullblocked, and immobilized while resting (lying_down as reason for the traits in the list), only immobilized while buckled in the resting state (only reason in the list is buckled), only uiblocked and pullblocked after unbuckling (lying_down as the reason for them).

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 a pull request may close this issue.

1 participant