How to use IClientPlayNetHandler/IServerPlayNetHandler in packet system
hohserg1 opened this issue ยท 1 comments
ICustomPacketHandler-s have a parameters of PlayNetHandlers. How to use it?
void handlePacket(PacketCustom packet, Minecraft mc, IClientPlayNetHandler handler);
void handlePacket(PacketCustom packet, ServerPlayerEntity sender, IServerPlayNetHandler handler);