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

Spelling mistake for Json parsing exception for score with missing name or objective

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 16w07a, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 1.13-pre3, 1.16.1, 1.16.2, 1.16.4, 20w48a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w15a, 21w17a, 1.17, 1.17.1, 1.18.2, 22w16b, 1.19, 1.19.2
    • Confirmed
    • Text

      The bug

      The Json exception that is thrown when a score component has no name or objective key is misspelled. It should say "at least", not "a least".

      A score component needs a least a name and an objective
      

      How to reproduce

      /tellraw @s {"score":{}}
      

      Affected class and method

      Minecraft 1.8 decompiled using MCP

      Class: net.minecraft.util.IChatComponent.Serializer
      Method: public IChatComponent deserialize(JsonElement p_deserialize_1_, Type p_deserialize_2_, JsonDeserializationContext p_deserialize_3_)

      Minecraft 16w07a

      Class: eu.a
      Method: public eu a(JsonElement ?, Type ?, JsonDeserializationContext ?) throws JsonParseException

        1. MC-97208.mp4
          2.45 MB
          [Mod] Avoma
        2. MC-97208.png
          1.19 MB
          [Mod] Avoma
        3. MC-97208-1.png
          177 kB
          [Mod] Avoma

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: