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 (crash-2018-01-03_21.34.41-client.txt
):
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] ...
2018-01-04, 04:49 AM
2018-01-11, 02:47 AM
2018-01-08, 10:51 AM
3
2