Fabric API

Fabric API

112M Downloads

`ClientPlayNetworking.registerGlobalReceiver` handler getting called with `null` player

henkelmax opened this issue ยท 2 comments

commented

When using ClientPlayNetworking.registerGlobalReceiver, the PlayPayloadHandler is getting called with a null player in the Context.
Here a screenshot from the debugger:
image

This happens in 24w07a with 0.96.2+1.20.5.

It seems to have been introduced in 24w03b with the networking changes.

commented

Thanks a lot for trying out the 1.20.5 builds and finding this. I have created a PR with the fix here: #3603 I plan to release this (along with some other fixes) later today. ๐Ÿ‘

commented

Thank you for the quick fix! Works perfectly in 0.96.3.