Mojira Archive
MC-101249

Target selectors ignore invalid arguments

"@e[customName=Xephos]" works EXACTLY the same as "@e". This causes extreme problems, like when using the "kill" or "tp" command. This caused me to teleport all entities on my friend's realm to one spot. It will take a while to fix this.

What I expected: The command fails due to an invalid argument.
What happened: The command completely ignored the argument, and teleported every entity.

Fixed

Harrison Martinson

[Mojang] Grum (Erik Broes)

2016-04-24, 07:32 AM

2016-10-12, 12:39 PM

2016-10-12, 12:39 PM

5

9

Confirmed

argument, command

Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 16w35a, Minecraft 16w39c

Minecraft 16w41a