[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

 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.


Generated at Tue Aug 21 12:29:36 CDT 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.