mojira.dev
MC-56296

name= Selector does not work with Symbols

When using a selector with name=, if there is a mob with a custom name or username with a space or symbol in it, the player/mob is not able to be found by the selector.

Test:
1.Summon entity with CustomName with a space/symbol in it.

/summon Pig ~ ~ ~ {CustomName:/,CustomNameVisible:1}

2.Use a selector on entity.

/tp @e[name=/] ~ ~5 ~

3.Errors:

The entity UUID provided is in an invalid format.

Linked issues

Comments 2

Duplicate of MC-56246

Please don't try to duplicate your own tickets.

Shoot didn't realize we could change the title. Is there a way to delete this issue, or otherwise close this one. Sorry about that.

onnowhere

(Unassigned)

Unconfirmed

Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b

Retrieved