[1.15.2-4.2.1] Players can place items while in spectator mode.
Vaelzan opened this issue ยท 2 comments
Describe the bug
Items can be placed while the player is in spectator mode, if the player had previously selected them on the hotbar while in survival or creative mode.
To Reproduce
Steps to reproduce the behaviour:
- Select a placeable item in the hotbar.
- Switch to Spectator Mode.
- Shift-Right-Click Ground.
Expected behaviour
Spectators should not be able to interact with the world in any way.
Screenshots
N/A, description should be clear enough.
Versions (please complete the following information):
- Minecraft version: 1.15.2
- PlaceableItems version: 4.2.1
- Forge version: 31.2.41
Fixed in 00a44ee