Mojira Archive
MC-179918

the "color" text component ignores any number of preceding zeros

The color text component ignores any number of preceding zeros, so {"text":"example", "color":"#0000000000FFFF00"} is both valid and the same as {"text":"example", "color":"#FFFF00"}

This also allows for {"text":"example", "color":"#FF"}, which displays a blue coloured text.

Invalid

ErrorCraft

2020-04-22, 09:15 PM

2020-06-15, 03:18 PM

2020-06-15, 03:18 PM

0

1

Confirmed

(Unassigned)

json, text

20w17a - 1.16 Pre-release 520w17a, 20w18a, 20w19a, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 5

-