The method is being called like this:
((IClientPacketHandler)handler).handlePacket(packet, Minecraft.getMinecraft().getNetHandler(), Minecraft.getMinecraft());
The handler may be called before the player is logged in. In that case, getNetHandler() will return null. However, getting null as netHandler value may be unexpected for implementations of IClientPacketHandler, and this can be seen in ForgeMultipart.
I think this should be fixed in CCL, if possible.
The method is being called like this:
The handler may be called before the player is logged in. In that case,
getNetHandler()will return null. However, getting null as netHandler value may be unexpected for implementations ofIClientPacketHandler, and this can be seen in ForgeMultipart.I think this should be fixed in CCL, if possible.