Intercept Forge packets from the server to the client
Worf2340 opened this issue ยท 1 comments
I'm running a Thermos 1.7.10 server with Protocollib 3.7.0. Is anyone able to provide a small example on how to listen to packets from Forge mods being sent to/from the server?
I figured out how to listen to packets sent to the server by the client using PacketType.Play.Client.CUSTOM_PAYLOAD
, but I can't seem to listen to packets sent from the server to the client using PacketType.Play.Server.CUSTOM_PAYLOAD
.
Here is the code I'm using.