mojira.dev
MC-119684

/give player skull doesn't work on full digit player names.

When you try to spawn a skull of a player that has only digits in their name it will not give the player's skull, but a normal one instead.

For example: /give (player) minecraft:skull 1 3 {SkullOwner:Dinnerbone}
This will spawn in Dinnerbone's head, but when you try /give (player) minecraft:skull 1 3 {SkullOwner:722} it will give you not my head, but a regular one instead. This appears to happen to every player that only has digits in their name.

Attachments

Comments 1

It tries to read it as an integer; add quotes to fix this.

722

(Unassigned)

Unconfirmed

Minecraft 1.12

Retrieved