mojira.dev
MC-81768

Spectators Spectating are not detected correctly by command blocks

if you have a spectator enter to spectate an entity, and the entity moves (in this case via tp, not tested in other ways), if you try to:
(x1/y1/z1 = the pos where you started spectating, x2/y2/z2 = the pos where you are now)

/execute @a[x1,y1,z1,r=2,m=3] ~ ~ ~ /say oldpos
/execute @a[x2,y2,z2,r=2,m=3] ~ ~ ~ /say newpos

if you put that on a command block:

  • it will always output [name] oldpos

if you type that on chat:

  • it will always output [name] newpos

Related issues

Comments

kumasasa

Relates to MC-46445

kumasasa

Is this still an issue in the current Minecraft Snapshot 15w49b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

pablete1234

(Unassigned)

Unconfirmed

Minecraft 1.8.7

Retrieved