The Bug:
The spectator hotbar opens after switching to spectator mode if the middle mouse button was clicked while using an item.
The fix for MC-305544 throws away stray middle clicks, but only while no item is being used. A middle click made while holding up a shield, bow or spyglass is kept, and if the player then becomes a spectator, the spectator hotbar is opened.
Steps to Reproduce:
Switch to creative mode and hold a shield.
Hold the right mouse button to block and keep holding it.
Click the middle mouse button once.
Still holding the right mouse button, press F3 + N to switch to spectator mode.
Observe if the spectator hotbar menu is open.
Observed Behavior:
The spectator hotbar opens after a middle click made while using an item.
Expected Behavior:
The middle click would be disregarded, just like it is when no item is used.
Linked issues
Comments 0
No comments.