mojira.dev
MC-307149

Sneak state is not always preserved properly while using inventory

While crouching, opening the inventory causes the player to stand straight, then switch back to crouch when it is closed. This can make player fall sometimes, resulting in death caused by software bug. This is especially annoying in hardcore early game.

Steps to reproduce:

  1. Crouch (either with toggle or hold sneak key)

  2. Stand on a ledge

  3. Open inventory while sneaking on the side of it

  4. Close inventory

  5. Crouch happening automatically again (and this is where the lag happens, inconsistently)

Sometimes it happens too late, after you start falling. (As if you weren’t sneaking in the first place.)

Problem occurs a few updates later than toggle sneak was introduced. (What happened in the meantime?)

Comments 1

Let’s just roll back to where the player wasn’t forced to switch between sneak states shall we?

Erendis42

(Unassigned)

Confirmed

(Unassigned)

26.1

Retrieved