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

Advancements execute rewards before printing message in chat

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      An advancement will print a message in chat only after all rewards have been executed. This means if you have a function granting the player a second advancement, the order would be reversed. Another example is where the map gives the player extra information after completing the advancement. This would all be printed above the advancement message "Player has made the advancement [...]"

      How to reproduce

      1. Make an advancement which calls a function as reward
      2. Put a /say command in that function
      3. Grant that advancement to yourself
        → Notice the /say message is printed in chat before the advancement prints "Player has made the advancement [...]"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Misoloo Misode
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: