EE was assisting in removal of gantry pin from the 24 shovel. A spacer, along with a hydraulic ram was being used. As pressure was being applied with the ram the spacer came out of place striking the EE in the right shoulder. EE was taken to GRMC x-rays negative for break. Diagnosed with Contusion to right shoulder. Placed on restrictions for 3 days; released back to work.