Conditional function commands do not work inside of functions
(See also this comment on Reddit by Brian McNamara)
Conditional commands do not work inside of functions. Here's how to reproduce:
- Create a function foo:bar with the following content:
say foo:bar succeeded function foo:bar2 if @e[c=1]The [c=1] is important here, see
MC-117661. - Create a second function foo:bar2 with the following content:
say foo:bar2 succeeded
- Run /reload.
- Run /function foo:bar
- Notice that the only thing written into the chat is foo:bar succeeded and the success message telling you that both commands have been run
2017-05-18, 10:32 PM
2017-05-29, 11:56 AM
2017-05-29, 11:56 AM
18
7