Mojira Archive
MC-122017

"execute as...if" works incorrectly

make a new void world

place a little grass, and one sapling

place two armor_stands, one inside the sapling, one not

run

/execute as @e[type=armor_stand] run execute at @s if block ~ ~ ~ air run say hi

or

/execute as @e[type=armor_stand] at @s if block ~ ~ ~ air run say hi

Expected: one armor stand says hi
Actual: either 0 or 2 armor stands say hi, based on which one of them is older (kill them and place in opposite order to see the difference)

Duplicate

Brian McNamara

2017-11-16, 07:00 PM

2017-11-17, 02:34 AM

2017-11-17, 02:34 AM

0

0

Unconfirmed

Minecraft 17w46a

-