mojira.dev
MC-207535

The text format doesn't reset after displaying an item name with a paragraph

After displaying data changed with a paragraph the text format doesn't reset. And it will be also applied to the next symbols.

How to reproduce:
1) create a function with the following command:

give @a stick{display:{Name:'{"text":"§4Custom name with a paragraph..."}'}}

2) get data of the item
As you can see, a quote and a bracket is also colored. 

 

Attachments

Comments 2

Use "color":"red" instead

It doesn't fix the usage of '§'.

Kragast

(Unassigned)

Unconfirmed

(Unassigned)

1.16.4, 20w49a

Retrieved