Player can break block in spawn protection they last hit before being deopped
The bug
When an op player hits (=left click once) a block in the spawn protection and is afterwards de-opped, they can still break that block.
How to reproduce
- Start a server
- Op any player other than yourself (from the console) to activate spawn protection
/op Notch
- Op yourself (from the console)
/op @p
- Set your gamemode to survival
/gamemode survival @p
- Click a block in spawn protection once
- De-op yourself
/deop @p
- Try breaking the block you hit in the previous step
You can successfully break it
2019-11-25, 11:11 PM
2024-12-08, 10:10 AM
6
5
-