mojira.dev
MC-151316

"execute store" doesn't execute subcommands if nothing is stored

What I expected to happen was:
The subcommand "say ." is executed because the execution shouldn't depend on the number of specified entities.

What actually happened was:
The subcommand is not executed.

Steps to Reproduce:

/scoreboard objectives add test dummy
/execute store success score @r[name=] test run say .

Comments 1

This behavior is suboptimal because in case there is no entity for which the result is stored you have to execute the same subcommands separately from "execute store" again.

uyp

(Unassigned)

Confirmed

(Unassigned)

command

Minecraft 1.14, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2, 19w38b, 1.16.2 Pre-release 3, 1.21.4

Retrieved