Mojira Archive
MC-179908

Entity CustomName with JSON array duplicates the last entry

Giving a CustomName to an entity in the form of a JSON array with two or more objects causes the last JSON object in the array to be duplicated.

 

When applying the following JSON

[{"text":"1","color":"#f73c20"},{"text":"2","color":"#f73c20"}]

To an entity with the following command

/summon minecraft:armor_stand ~ ~1 ~ {"CustomNameVisible":true,"CustomName":"[{\"text\":\"1\",\"color\":\"#f73c20\"},{\"text\":\"2\",\"color\":\"#20a8f7\"}]"}

 

Produces the following nametag

Duplicate

Julian Mills

2020-04-22, 08:48 PM

2020-04-22, 09:46 PM

2020-04-22, 09:46 PM

2

1

Unconfirmed

(Unassigned)

20w17a

-