[MC-114110] Constructor for playerlist header and footer packet (SPacketPlayerListHeaderFooter) is missing footer parameter Created: 22/Feb/17  Updated: 16/May/17  Resolved: 16/May/17

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a
Fix Version/s: Minecraft 1.12 Pre-Release 3

Type: Bug
Reporter: [Mod] Marcono1234 Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 2
Labels: footer, header, null, packet, parameter, playerlist

Confirmation Status: Unconfirmed


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.

Generated at Thu Feb 21 01:25:44 CST 2019 using Jira 7.11.2#711002-sha1:fdc329dee91471a641faabfe39b5ff8c0a5b3f66.