Three injured in shooting in York City, second in six hours