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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: