Among older adults , PCV13 was effective in preventing vaccine-type pneumococcal , bacteremic , and nonbacteremic community-acquired pneumonia and vaccine-type invasive pneumococcal disease but not in preventing community-acquired pneumonia from any cause .