Fix crash in inheritance team validation
Fix crash in inheritance team validation

Line 469 could be changed as well to include pokemonWithAbility.length === 0, but I think the latest message is better in this case.

svivian/Pokemon-Showdown,jd4564/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,ZestOfLife/FestiveLife,EienSeiryuu/Pokemon-Showdown,ShowdownHelper/Saffron,Git-Worm/City-PS,Kokonoe-san/Glacia-PS,AnaRitaTorres/Pokemon-Showdown,DesoGit/Tsunami_PS,DarkSuicune/Pokemon-Showdown,Enigami/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,svivian/Pokemon-Showdown,Zarel/Pokemon-Showdown,Sora-League/Sora,KewlStatics/Showdown-Template,aakashrajput/Pokemon-Showdown,ehk12/coregit,Sora-League/Sora,Zarel/Pokemon-Showdown,Enigami/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,DesoGit/TsunamiPS,Lord-Haji/SpacialGaze,jumbowhales/Pokemon-Showdown,Alpha-Devs/Alpha-Server,ehk12/coregit,Irraquated/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,KewlStatics/Alliance,DarkSuicune/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,Elveman/RPCShowdownServer,azum4roll/Pokemon-Showdown,TheManwithskills/COC,DesoGit/Tsunami_PS,Alpha-Devs/Alpha-Server,HoeenCoder/SpacialGaze,arkanox/MistShowdown,Enigami/Pokemon-Showdown,yashagl/yash-showdown,Lauc1an/Perulink-Showdown,PS-Spectral/Spectral,HoeenCoder/SpacialGaze,PS-Spectral/Spectral,Nineage/Origin,Hidden-Mia/Roleplay-PS,TheManwithskills/Creature-phil-boiler,xfix/Pokemon-Showdown,TheManwithskills/COC,AustinXII/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,urkerab/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,TheFenderStory/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown-SMCMDM,yashagl/pokemon-showdown,KewlStatics/Shit,Flareninja/Showdown-Boilerplate,panpawn/Gold-Server,xCrystal/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Firestatics/Omega-Alpha,AustinXII/Pokemon-Showdown,AbsolitoSweep/Absol-server,AWailOfATail/awoat,cadaeic/Pokemon-Showdown,yashagl/yash-showdown,Syurra/Pokemon-Showdown,jd4564/Pokemon-Showdown,DesoGit/Tsunami_PS,Pikachuun/Pokemon-Showdown-SMCMDM,Vacate/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,HoeenCoder/SpacialGaze,CharizardtheFireMage/Showdown-Boilerplate,SSJGVegito007/Vegito-s-Server,Vacate/Pokemon-Showdown,Irraquated/Pokemon-Showdown,ShowdownHelper/Saffron,Firestatics/omega,Firestatics/Omega-Alpha,svivian/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,Mystifi/Exiled,Zarel/Pokemon-Showdown,arkanox/MistShowdown,BlazingAura/Showdown-Boilerplate,cadaeic/Pokemon-Showdown,TheManwithskills/DS,KewlStatics/Pokeindia-Codes,Bryan-0/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,azum4roll/Pokemon-Showdown,yashagl/pokemon-showdown,TheFenderStory/Pokemon-Showdown,Irraquated/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,psnsVGC/Wish-Server,panpawn/Gold-Server,psnsVGC/Wish-Server,danpantry/Pokemon-Showdown,ZeroParadox/BlastBurners,xfix/Pokemon-Showdown,PS-Spectral/Spectral,sirDonovan/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,QuiteQuiet/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,Lord-Haji/SpacialGaze,Lauc1an/Perulink-Showdown,Alpha-Devs/OmegaRuby-Server,TheFenderStory/Showdown-Boilerplate,Elveman/RPCShowdownServer,ZestOfLife/PSserver,Guernouille/Pokemon-Showdown,bai2/Dropp,QuiteQuiet/Pokemon-Showdown,Mystifi/Exiled,Lord-Haji/SpacialGaze,zek7rom/SpacialGaze,Firestatics/omega,ZestOfLife/FestiveLife,zek7rom/SpacialGaze,CreaturePhil/Showdown-Boilerplate,panpawn/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,svivian/Pokemon-Showdown,Mystifi/Exiled,xCrystal/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,urkerab/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,panpawn/Gold-Server,TheManwithskills/Creature-phil-boiler,aakashrajput/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Wando94/Pokemon-Showdown,Guernouille/Pokemon-Showdown,TheManwithskills/DS,Bryan-0/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,kuroscafe/Paradox,xfix/Pokemon-Showdown,Wando94/Spite,ShowdownHelper/Saffron,ZeroParadox/BlastBurners,urkerab/Pokemon-Showdown,Syurra/Pokemon-Showdown,AbsolitoSweep/Absol-server,TbirdClanWish/Pokemon-Showdown,Wando94/Spite,bai2/Dropp,Enigami/Pokemon-Showdown,svivian/Pokemon-Showdown,HoeenCoder/SpacialGaze,xfix/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,danpantry/Pokemon-Showdown,kuroscafe/Paradox,panpawn/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,KewlStatics/Shit,Pikachuun/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Volcos/SpacialGaze,KewlStatics/Alliance,SSJGVegito007/Vegito-s-Server,Git-Worm/City-PS,jumbowhales/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,DesoGit/TsunamiPS,Nineage/Origin,AWailOfATail/awoat,SkyeTheFemaleSylveon/Pokemon-Showdown,Sora-League/Sora,xfix/Pokemon-Showdown,ZestOfLife/PSserver,KewlStatics/Pokeindia-Codes,kuroscafe/Showdown-Boilerplate,AustinXII/Pokemon-Showdown,KewlStatics/Showdown-Template,AWailOfATail/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Volcos/SpacialGaze,Wando94/Pokemon-Showdown