packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Fix server side for fabric

Open VendoAU opened this issue 1 year ago • 1 comments

I ended up making seperate encoder and decoder classes for clientbound and serverbound packets, not sure if that's the correct way to do it but it works. I also created a CustomPipelineUtil class to match the other environments.

VendoAU avatar Oct 14 '24 08:10 VendoAU

This does not work and leads to an NPE at start when init() is called to try and use reflection to get the methods.

I've gone ahead and fixed it in https://github.com/retrooper/packetevents/pull/1027

Axionize avatar Oct 14 '24 12:10 Axionize