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

A function tag collapses the same values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.17.1
    • None
    • Confirmed
    • (Unassigned)

      The bug

      If a function tag has the same values, it will ignore all except the first of the values. This behavior is unintuitive because values of a function tag is a sequence rather than a set.

      How to reproduce

      1. Install the datapack in Attachments.
      2. Run
        /function #mc-231408:test

        A function is executed only once.

            Unassigned Unassigned
            intsuc intsuc
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: