Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-123832

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

XMLWordPrintable

    • Confirmed

      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] ...
      

            dinnerbone [Mojang] Nathan Adams
            Neko [Mod] Neko
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: