The game itself does not contain a virus; millions of people play it safely. The real danger comes from downloading hacks or cheats for it, which frequently bundle malware. For the safest experience, stick to the legitimate client and avoid any third-party hacks, since those can harm both your gameplay and your computer. If you are ever worried, running a reputable anti-virus program is a sensible precaution.