Mojira Archive
MC-81773

Bows, crossbows, and tridents drawn in survival/creative/adventure mode can be released in spectator mode

The bug / Steps to reproduce

Place down a command block with a pressure plate on top that sets players who stand on it to spectator mode. Get a bow and arrow, draw back the bow but do not release. Step on the plate to enter spectator mode then release the bow to fire the arrow.

This bug allows you shoot arrows in a situation where a map maker most likely doesn't want it. In and of itself it's quite a cool concept but doesn't seem to work as it should!

Demonstration video: https://youtu.be/myDDq4Ks27A?t=1m35s

The same bug occurs with tridents in 1.13 and later.

Code analysis

Code analysis by [Mod] Avoma can be found in this comment.