Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-165853

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20a, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2
    • Confirmed
    • Commands
    • Normal

      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.

       

      datapack bug.zip

       

        1. 1.PNG
          3 kB
          FACS01
        2. 2.PNG
          81 kB
          FACS01

            Unassigned Unassigned
            FACS01 FACS01
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: