mojira.dev
MC-131048

Command '/tag @e remove tagname' says it removed tag from all entities, and not just the ones with the tag

When using the '/tag @e remove tagname' command, the command will output something like "Removed tag 'tagname' from 171 entities" when in reality the command may have only removed the tag from 1 entity. This can be confusing for people working with tag commands.

Steps to reproduce:

  1. Create a new world

  2. Spawn a mob of your choice and stand next to it

  3. run /tag @e[limit=1,distance=..5] add test

  4. run /tag @e remove test

  5. Expected result: "Removed tag 'test' from 1 entities"

  6. Actual result: "Removed tag 'test' from 100 entities" despite only 1 entity having that tag

Linked issues

Comments 0

No comments.

Connor Johnston

(Unassigned)

Unconfirmed

Minecraft 1.13-pre1

Retrieved