The bug
The spyglass stays in use when switching to spectator while using F3 + N.
How to reproduce
Obtain a spyglass
While using the spyglass, switch to spectator mode using F3 + N
Observed behavior
The spyglass remains extended while in spectator mode.
Expected behavior
The spyglass would retract while in spectator mode.
Video
Code analysis
Code analysis by @unknown can be found in this comment.
Linked issues
is duplicated by 2
Attachments
Comments 17
Following on from my code analysis, I've double-checked my proposed fix and I can confidently confirm that it's fully functioning and works as expected, so I've attached two screenshots to this report, one of which shows the current code and the other that shows the fixed code. I feel this information may be quite insightful hence my reasoning for providing it. 🙂
[media][media]
Can confirm, relates to MC-81773, MC-129909 and MC-69216.