Mojira Archive
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!

Duplicate

CyanEmber

2016-08-12, 12:37 AM

2017-12-30, 12:13 AM

2016-08-12, 12:51 AM

0

1

Unconfirmed

command, command_block

Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b

-