mojira.dev
MC-123832

Crash reports output TextComponent object for entity names rather than its text

The bug

Crash reports output the TextComponent or TranslatableComponent object when listing all players and forced entities. In previous versions, just the entity's name was printed.

From a forced crash report (

[media]

):

All players: 1 total; [cab['TextComponent{text='PlayerName', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}'/6441, l='MpServer', x=-0.62, y=4.00, z=10.98]]
Forced entities: 53 total; [agz['TranslatableComponent{key='entity.Painting.name', args=[], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}'/6777, l='MpServer', x=151.03, y=2.50, z=-0.50] ...

Linked issues

Attachments

Comments 0

No comments.

[Mod] Neko

Nathan Adams

Confirmed

crash-report, text-component

Minecraft 18w01a

Minecraft 18w02a

Retrieved