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

unifont.json contains trailing comma

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.3, 1.21.4 Pre-Release 1
    • None
    • Confirmed
    • Internationalisation, Resource Packs
    • Low
    • Platform

      The assets/minecraft/font/include/unifont.json file obtained from resources.download.minecraft.net contains a trailing comma, which is invalid JSON. The game reads this file in lenient mode, but this is not guaranteed for external tools.

      How to reproduce

      1. Download https://resources.download.minecraft.net/f4/f40266672fa6cd5c678cbfd5a7fdcfe06e30c629
      2. Open the file in a text editor
      3. Notice on line 101 that there is a trailing comma

      Expected behavior
      I expected that all JSON files in assets would be valid

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: