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

No-description advancements show an empty line in hover event in chat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2, 22w42a, 22w44a, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.21.4
    • None
    • Confirmed
    • Resource Packs, Text
    • Low
    • Platform

      Advancement descriptions are optional, if left out, they simply display no description in the menu.
      In the chat, however, they will display an empty line in the hover event.

      Steps to reproduce:

      • Install the attached data pack.
      • Ensure the announceAdvancements is set to true. /gamerule announceAdvancements true
      • If you already have the advancement from another bug report test. /advancement revoke @s only test_pack:test
      • Hover over the advancement announcement's advancement
      • Observe the advancement menu.

      Expected behavior:
      No description is present in the advancement hover event, nor the menu.

      Actual behavior:
      A newline is still present in the hover event for the description.

        1. test pack.zip
          0.8 kB
        2. 2022-10-23_21.55.06.png
          2022-10-23_21.55.06.png
          1.07 MB
        3. 2022-10-23_21.55.12.png
          2022-10-23_21.55.12.png
          701 kB

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: