Make onClientPacketData client side only.