An employee was moving a pallet to turn it in a different direction. A nail gun was about to fall and the employee tried to catch it. As the employee reached for the nail gun, the trigger was activated and the nail gun discharged a nail into the employee's right thigh.