mojira.dev
MC-166432

Trying to break block in spawn protection logs warning "Mismatch in destroy block pos"

The bug

When a non-op player tries to break blocks in the spawn protection of a server, the following warning is logged:

[23:55:13 WARN]: Mismatch in destroy block pos: fk{x=-9, y=0, z=-6} fk{x=1, y=2, z=1}

How to reproduce

  1. Start a server

  2. Op any player other than yourself (from the console) to activate spawn protection

    /op Notch
  3. Join the server and try to break blocks within the spawn protection

  4. Look at the server log
    ❌ The warning was logged

Linked issues

Attachments

Comments 20

Confirmed in the same conditions in 1.15.1 ^^

Still seeing this in 1.15.2

Disable the spawn chunk protection in server.properties can fix this !

Commenting to advise this has happened when transitioning from 1.15.2 to 1.16 (20w06a). Removing a previously /op'd player from operator status appears to have restored the ability to break blocks.

With the message below, its triggerd when a mob entity in this case is teleported from its spawn location

[22:21:15] [Server thread/WARN]: Mismatch in destroy block pos: fp{x=-11290, y=67, z=14439} fp{x=19, y=65, z=-67}

10 more comments

Can confirm in 1.20.1. Also, this has nothing to do with spawn protection and occurs in the entire world.

Bug still valid in 1.20.2 vanilla.

Changing the "spawn protection" to 0, didn't fix the bug to our observations.

Having the same ?issue? on 1.20.2.  It is definitely related to the spawn area.  I can move/destroy/place blocks outside of the spawn area. Roughly 20 x 20 block area. 

Cannot break the crafting table, Sign on it, adjoining anvil and double chests in front of them all in one 2x2 square.
Server was started on 1.19.
Items aformentioned were there since 1.19.
Admin and user cannot break the items

Sample log
[19:45:29 INFO]: USERNAME#1 has made the advancement [Acquire Hardware]
[19:45:30 INFO]: USERNAME#1 has made the advancement [Diamonds!]
[19:46:03 WARN]: Mismatch in destroy block pos: gw{x=0, y=0, z=0} gw{x=-16, y=68, z=-1}
[19:46:14 INFO]: <USERNAME#2> are you on discord?
[19:46:28 INFO]: <USERNAME#1> yeah in mc channel
[19:46:32 WARN]: Mismatch in destroy block pos: gw{x=0, y=0, z=0} gw{x=-16, y=68, z=-1}
[19:46:48 WARN]: Mismatch in destroy block pos: gw{x=0, y=0, z=0} gw{x=-16, y=68, z=-1}
[19:47:05 WARN]: Mismatch in destroy block pos: gw{x=0, y=0, z=0} gw{x=-14, y=67, z=0}
[19:48:23 INFO]: USERNAME#1 has made the advancement [Isn't It Iron Pick]
[19:57:23 INFO]: USERNAME#1 has made the advancement [Monster Hunter]
[19:58:07 INFO]: USERNAME#1 has made the advancement [Sweet Drea

 

088218 

My 1.21 server occur these warnings,I didn't change anything

[media]

marcono1234

(Unassigned)

Confirmed

Platform

Low

Player

spawn-protection

1.15 Pre-Release 2, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 1.16 Pre-release 5, ..., 1.18.1, 1.18.2, 1.19, 1.20.1, 1.21

Retrieved