Mojira Archive
MC-97208

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

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

Cannot Reproduce

Marcono1234

2016-02-15, 09:30 PM

2025-01-11, 08:05 PM

2025-01-11, 08:05 PM

6

6

Confirmed

Text

exception, json, parsing, score, spelling

Minecraft 16w07a - 1.19.2Minecraft 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

-