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

Constructor for playerlist header and footer packet (SPacketPlayerListHeaderFooter) is missing footer parameter

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The bug

      The constructor for the playerlist header and footer packet (SPacketPlayerListHeaderFooter) is missing a footer parameter. This is not a problem in vanilla gameplay because this packet is currently not send, but will very likely cause problems in the future.

      The problem is that like this you cannot set a footer text component and therefor when the packet is sent the server tries to turn null into a JSON String which is not possible and results in the connection to the client being closed.

      In 17w06a the obfuscated name of the packet class is ih.

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Dinnerbone (Nathan Adams)
              Reporter:
              marcono1234 [Helper] Marcono1234
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: