Fix crash in AfterDamage
Fix crash in AfterDamage

Flareninja/Showdown-Boilerplate,LustyAsh/EOS-Master,hayleysworld/serenity,abrulochp/Dropp-Pokemon-Showdown,jd4564/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,Sora-League/Sora,KewlStatics/Shit,MeliodasBH/boarhat,UniversalMan12/Universe-Server,Firestatics/Omega-Alpha,megaslowbro1/Showdown-Server-again,Zipzapadam/Server,aakashrajput/Pokemon-Showdown,panpawn/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,JennyPRO/Jenny,TheManwithskills/New-boiler-test,megaslowbro1/Showdown-Server-again,TheManwithskills/New-boiler-test,QuiteQuiet/Pokemon-Showdown,DesoGit/TsunamiPS,SkyeTheFemaleSylveon/Pokemon-Showdown,DesoGit/Tsunami_PS,Sora-Server/Sora,svivian/Pokemon-Showdown,JellalTheMage/Jellals-Server,KewlStatics/Pokeindia-Codes,cadaeic/Pokemon-Showdown,Firestatics/omega,Irraquated/EOS-Master,DesoGit/Tsunami_PS,Kevinxzllz/PS-Openshift-Server,LustyAsh/EOS-Master,Hidden-Mia/Roleplay-PS,ZestOfLife/PSserver,TheManwithskills/Server,SerperiorBae/Pokemon-Showdown-1,Legit99/Lightning-Storm-Server,hayleysworld/Showdown-Boilerplate,gustavo515/test,panpawn/Gold-Server,MayukhKundu/Mudkip-Server,Articuno-I/Pokemon-Showdown,Extradeath/advanced,DarkSuicune/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Sora-Server/Sora,EienSeiryuu/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,urkerab/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,AbsolitoSweep/Absol-server,MasterFloat/LQP-Server-Showdown,yashagl/pokemon,azum4roll/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Legit99/Lightning-Storm-Server,KewlStatics/Alliance,Enigami/Pokemon-Showdown,FakeSloth/wulu,cadaeic/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,TheManwithskills/serenity,Enigami/Pokemon-Showdown,k3naan/Pokemon-Showdown,TheManwithskills/Server---Thermal,SilverTactic/Dragotica-Pokemon-Showdown,Kokonoe-san/Glacia-PS,hayleysworld/harmonia,InvalidDN/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,lFernanl/Mudkip-Server,QuiteQuiet/Pokemon-Showdown,AWailOfATail/awoat,sama2/Universe-Pokemon-Showdown,MayukhKundu/Technogear-Final,Sora-Server/Sora,Enigami/Pokemon-Showdown,AustinXII/Pokemon-Showdown,AbsolitoSweep/Absol-server,TheFenderStory/Pokemon-Showdown,Breakfastqueen/advanced,HoeenCoder/SpacialGaze,ehk12/bigbangtempclone,sirDonovan/Pokemon-Showdown,MayukhKundu/Pokemon-Domain,KewlStatics/Showdown-Template,forbiddennightmare/Pokemon-Showdown-1,Yggdrasil-League/Yggdrasil,abulechu/Dropp-Pokemon-Showdown,MayukhKundu/Pokemon-Domain,Neosweiss/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,DesoGit/Tsunami_PS,bai2/Dropp,Bryan-0/Pokemon-Showdown,Mystifi/Exiled,MasterFloat/LQP-Server-Showdown,ZestOfLife/FestiveLife,javi501/Lumen-Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,psnsVGC/Wish-Server,ehk12/clone,EmmaKitty/Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,hayleysworld/serenity,Alpha-Devs/Alpha-Server,panpawn/Pokemon-Showdown,Git-Worm/City-PS,scotchkorean27/Pokemon-Showdown,Extradeath/advanced,kupochu/Pokemon-Showdown,EmmaKitty/Pokemon-Showdown,Wando94/Pokemon-Showdown,hayleysworld/serenityserver,gustavo515/gashoro,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,CharizardtheFireMage/Showdown-Boilerplate,theodelhay/test,HoeenCoder/SpacialGaze,yashagl/pokemon,Volcos/SpacialGaze,Ransei1/Alt,xfix/Pokemon-Showdown,TheManwithskills/Server---Thermal,PrimalGallade45/Dropp-Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,svivian/Pokemon-Showdown,psnsVGC/Wish-Server,hayleysworld/serenityc9,Ecuacion/Lumen-Pokemon-Showdown,TheManwithskills/DS,urkerab/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,lFernanl/Zero-Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,ankailou/Pokemon-Showdown,panpawn/Gold-Server,Nineage/Origin,MeliodasBH/Articuno-Land,gustavo515/batata,BlazingAura/Showdown-Boilerplate,Enigami/Pokemon-Showdown,ZeroParadox/BlastBurners,RustServer/Pokemon-Showdown,ehk12/coregit,AWailOfATail/Pokemon-Showdown,Firestatics/Omega-Alpha,Pablo000/aaa,Zarel/Pokemon-Showdown,Mystifi/Exiled,Syurra/Pokemon-Showdown,DB898/theregalias,SilverTactic/Showdown-Boilerplate,zek7rom/SpacialGaze,ZeroParadox/BlastBurners,BuzzyOG/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,Irraquated/Pokemon-Showdown,MeliodasBH/Articuno-Land,NoahVSGamingYT/Pokemon-Showdown,ehk12/bigbangtempclone,SubZeroo99/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,KaitoV4X/Showdown,abulechu/Lumen-Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,AWailOfATail/awoat,TheManwithskills/DS,yashagl/pokecommunity,lAlejandro22/lolipoop,Irraquated/EOS-Master,yashagl/yash-showdown,Flareninja/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,Pikachuun/Pokemon-Showdown-SMCMDM,DarkSuicune/Kakuja-2.0,SerperiorBae/Pokemon-Showdown-1,MasterFloat/Pokemon-Showdown,DB898/theregalias,JellalTheMage/PS-,Ecuacion/Pokemon-Showdown,ZeroParadox/ugh,Zipzapadam/Server,Lord-Haji/SpacialGaze,Irraquated/Pokemon-Showdown,xfix/Pokemon-Showdown,yashagl/pokemon-showdown,MayukhKundu/Technogear-Final,abrulochp/Dropp-Pokemon-Showdown,InvalidDN/Pokemon-Showdown,kuroscafe/Paradox,zek7rom/SpacialGaze,Sora-League/Sora,hayleysworld/serenityc9,MasterFloat/Pokemon-Showdown,Breakfastqueen/advanced,aakashrajput/Pokemon-Showdown,hayleysworld/serenityserver,AWailOfATail/Pokemon-Showdown,MayukhKundu/Flame-Savior,AustinXII/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,lFernanl/Pokemon-Showdown,Lauc1an/Perulink-Showdown,yashagl/pokemon-showdown,ShowdownHelper/Saffron,KewlStatics/Showdown-Template,Ridukuo/Test,xCrystal/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Wando94/Spite,Ridukuo/Test,kuroscafe/Showdown-Boilerplate,hayleysworld/Showdown-Boilerplate,sirDonovan/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,Ransei1/Alt,Flareninja/Lumen-Pokemon-Showdown,Breakfastqueen/advanced,hayleysworld/harmonia,AustinXII/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,RustServer/Pokemon-Showdown,UniversalMan12/Universe-Server,lFernanl/Zero-Pokemon-Showdown,TheManwithskills/Server,asdfghjklohhnhn/Pokemon-Showdown,xfix/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,xfix/Pokemon-Showdown,kubetz/Pokemon-Showdown,gustavo515/test,UniversalMan12/Universe-Server,Guernouille/Pokemon-Showdown,Sora-League/Sora,jd4564/Pokemon-Showdown,Vacate/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,PS-Spectral/Spectral,Irraquated/Showdown-Boilerplate,sama2/Dropp-Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,lFernanl/Lumen-Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,urkerab/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Hidden-Mia/Roleplay-PS,MayukhKundu/Technogear,MayukhKundu/Mudkip-Server,kupochu/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,arkanox/MistShowdown,kubetz/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,FakeSloth/Infinite,Kokonoe-san/Glacia-PS,Guernouille/Pokemon-Showdown,PS-Spectral/Spectral,TheManwithskills/serenity,KaitoV4X/Showdown,MayukhKundu/Flame-Savior,BuzzyOG/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,Elveman/RPCShowdownServer,megaslowbro1/Pokemon-Showdown,JellalTheMage/Jellals-Server,Zarel/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,danpantry/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,KewlStatics/Alliance,DarkSuicune/Kakuja-2.0,TheManwithskills/Dusk--Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Wando94/Spite,SubZeroo99/Pokemon-Showdown,danpantry/Pokemon-Showdown,Git-Worm/City-PS,gustavo515/batata,Elveman/RPCShowdownServer,xCrystal/Pokemon-Showdown,azum4roll/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,DesoGit/TsunamiPS,Pikachuun/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Syurra/Pokemon-Showdown,Firestatics/Firestatics46,CreaturePhil/Showdown-Boilerplate,Neosweiss/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,Atwar/ServerClassroom,ZeroParadox/ugh,HoeenCoder/SpacialGaze,MayukhKundu/Technogear,Volcos/SpacialGaze,abrulochp/Lumen-Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,TheManwithskills/COC,Flareninja/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,Zarel/Pokemon-Showdown,TheManwithskills/COC,arkanox/MistShowdown,svivian/Pokemon-Showdown,bai2/Dropp,KewlStatics/Shit,gustavo515/final,Darkshadow6/PokeMoon-Creation,SerperiorBae/Pokemon-Showdown-1,KewlStatics/Pokeindia-Codes,lAlejandro22/lolipoop,Kevinxzllz/PS-Openshift-Server,yashagl/pokecommunity,Wando94/Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Vacate/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,FakeSloth/Infinite,Lord-Haji/SpacialGaze,JellalTheMage/PS-,johtooo/PS,Yggdrasil-League/Yggdrasil,Kill-The-Noise/BlakJack-Boilerplate,gustavo515/final,SSJGVegito007/Vegito-s-Server,AnaRitaTorres/Pokemon-Showdown,gustavo515/gashoro,kuroscafe/Showdown-Boilerplate,PS-Spectral/Spectral,brettjbush/Pokemon-Showdown,panpawn/Gold-Server,abrulochp/Lumen-Pokemon-Showdown,Irraquated/Pokemon-Showdown,MeliodasBH/boarhat,Celecitia/Plux-Pokemon-Showdown,Alpha-Devs/Alpha-Server,johtooo/PS,AnaRitaTorres/Pokemon-Showdown,svivian/Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown,superman8900/Pokemon-Showdown,k3naan/Pokemon-Showdown,theodelhay/test,Lauc1an/Perulink-Showdown,Lord-Haji/SpacialGaze,TheDiabolicGift/Showdown-Boilerplate,Firestatics/omega,SolarisFox/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,SSJGVegito007/Vegito-s-Server,BlazingAura/Showdown-Boilerplate,ZestOfLife/PSserver,sama2/Lumen-Pokemon-Showdown,ankailou/Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,Nineage/Origin,Atwar/ServerClassroom,TheFenderStory/Showdown-Boilerplate,Pablo000/aaa,TheManwithskills/Dusk--Showdown,scotchkorean27/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,kuroscafe/Paradox,aakashrajput/Pokemon-Showdown,ShowdownHelper/Saffron,TheDiabolicGift/Lumen-Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,TogeSR/Lumen-Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,brettjbush/Pokemon-Showdown,JennyPRO/Jenny,lFernanl/Pokemon-Showdown,superman8900/Pokemon-Showdown,zczd/enculer,xfix/Pokemon-Showdown,lFernanl/Mudkip-Server,piiiikachuuu/Pokemon-Showdown,Firestatics/Firestatics46,Atwar/server-epilogueleague.rhcloud.com,svivian/Pokemon-Showdown,ehk12/coregit,Mystifi/Exiled,HoeenCoder/SpacialGaze,ZestOfLife/FestiveLife,Pokemon-Devs/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,ShowdownHelper/Saffron,BuzzyOG/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,zczd/enculer,forbiddennightmare/Pokemon-Showdown-1,Darkshadow6/PokeMoon-Creation,yashagl/yash-showdown,ehk12/clone,Kill-The-Noise/BlakJack-Boilerplate