Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-166434

Player can break block in spawn protection they last hit before being deopped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15 Pre-Release 2, 1.16.4, 21w14a, 1.18.1, 1.18.2, 1.19, 1.21.3
    • Confirmed
    • (Unassigned)

      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

        1. MC-166434.png
          MC-166434.png
          2.39 MB
        2. MC-166434.mp4
          6.66 MB

            Unassigned Unassigned
            sof sofia
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: