mojira.dev
MC-165853

Function from datapack working even if having incomplete "/execute" command

Expected behaviour

When you write a function file, and one of its line has an unfinished "execute" command (execute <any conditions> run), the file should fail and should not be able to use it.

Actual behaviour

 The function file continue working, skipping the unfinished command.

 

[media][media][media]

 

Linked issues

Attachments

Comments

marcono1234

Related to MC-165773, but not a duplicate. It seems trying to run /execute run without subsequent command fails in chat and in command blocks.

user-a4a49

Confirmed in 1.16 Pre-release 2.

boq

Functions only fail to load on syntax error, `/execute run` is (unfortunately) well-formed, but unable to be executed (and execution errors are silent in functions).

FACS01

(Unassigned)

Confirmed

Normal

Commands

datapack, execute, function

19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, ..., 20w20a, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2

Retrieved