Mojira Archive
MC-125068

Execute if/unless entity lags behind /kill in same function

If you run the /kill command in a function, the entities you've killed are not removed from the world until the next tick. This means you get unexpected behavior with code like the following:

kill @e[type=armor_stand,tag=Marker]
execute if entity @e[type=armor_stand,tag=Marker] run say Found!

You'd expect it to not say anything because all the Marker stands are dead, but it will still output because the stands aren't removed from the world until the next tick.

Fixed

Daniel Burnett

2018-02-11, 12:16 PM

2018-02-18, 06:49 PM

2018-02-18, 04:36 PM

2

0

Unconfirmed

Minecraft 18w06a

Minecraft 18w07c