-
Bug
-
Resolution: Fixed
-
Minecraft 17w45a
-
None
-
Windows 10
Java 1.8.0_25 64Bit
-
Confirmed
As the Description tells already, execute runs each command, starting from the last entity in the list from an entity selector.
Steps to Reproduce:
- (Empty world) Place down an armor stand and stand besides it
- run
say @e[sort=nearest]
and it will print out <your username>, armor stand which is the expected behavior, you are nearer to yourself than the armor stand
- run
execute as @e[sort=nearest] run say hi
and it will print out the armor stand before your username
Despite the order in the entity selector is correct, as seen in the first example, the execute goes through this list, starting at the back, which is not the expected behavior in my eyes.