Mojira Archive
MC-166434

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

  1. Start a server
  2. Op any player other than yourself (from the console) to activate spawn protection
    /op Notch
    
  3. Op yourself (from the console)
    /op @p
    
  4. Set your gamemode to survival
    /gamemode survival @p
    
  5. Click a block in spawn protection once
  6. De-op yourself
    /deop @p
    
  7. Try breaking the block you hit in the previous step
    You can successfully break it

Unresolved

sofia

Marcono1234

2019-11-25, 11:11 PM

2024-12-08, 10:10 AM

6

5

Confirmed

(Unassigned)

spawn-protection

1.15 Pre-Release 2 - 1.21.41.15 Pre-Release 2, 1.16.4, 21w14a, 1.18.1, 1.18.2, 1.19, 1.21.3, 1.21.4

-