I usually keep trying with small gaps in between each attempt and eventually it goes through. Since then, both Modrinth and Curseforge have stated all infected files have been removed or they were unaffected. What's the difference between EventHandler and SubscribeEvent? I'm also getting the issue; the only thing I changed was turning pvp off and spawn protection off for my server. Try to uninstall every java version from your pc and download the newest one and install it.
nest...