mojira.dev
MC-106085

Commands fail when using non-integers in target selectors

Executing commands with target selector variables using a non-integer fails with the following error: "The entity UUID is in an invalid format."

To reproduce:
1. Enter the following command (Should work fine)
/execute @a[r=10] ~ ~ ~ /say Hi!
2. Enter the following command (Should fail)
/execute @a[r=10.5] ~ ~ ~ /say Hi!

This bug is really annoying, because I am making an adventure map that has to work with really precise rotation values (dy=11.25,dym=-11.25) and I can't use non-integers in target selector variables. Please fix this as soon as possible!

Linked issues

Attachments

Comments 1

Dupe of MC-9074 (See Searge comment)

EchoBlade

(Unassigned)

Unconfirmed

command, command_block

Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b

Retrieved