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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands
    • Mojang Priority:
      Normal

      Description

      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

       

        Attachments

        1. 1.PNG
          1.PNG
          3 kB
        2. 2.PNG
          2.PNG
          81 kB
        3. datapack bug.zip
          0.9 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              FACS01 Franco Caprile
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: