Fix crash in sendUpdates
Fix crash in sendUpdates

SerperiorBae/BaeShowdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,AustinXII/Pokemon-Showdown,Volcos/SpacialGaze,gustavo515/gashoro,TbirdClanWish/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Irraquated/EOS-Master,Ecuacion/Lumen-Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,Raina4uberz/Light-server,lFernanl/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Pablo000/aaa,TheManwithskills/Creature-phil-boiler,danpantry/Pokemon-Showdown,miahjennatills/Pokemon-Showdown,DesoGit/TsunamiPS,megaslowbro1/Pokemon-Showdown,bai2/Dropp,BadSteel/Omega-Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,MasterFloat/Pokemon-Showdown,Ridukuo/Test,DesoGit/Tsunami_PS,Flareninja/Showdown-Boilerplate,comedianchameleon/test,kuroscafe/Paradox,LightningStormServer/Lightning-Storm,sirDonovan/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,ankailou/Pokemon-Showdown,urkerab/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,theodelhay/test,hayleysworld/serenityc9,hayleysworld/serenity,Extradeath/psserver,ZeroParadox/BlastBurners,sama2/Dropp-Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Pikachuun/Joimmon-Showdown,TheManwithskills/serenity,AWailOfATail/Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,SubZeroo99/Pokemon-Showdown,comedianchameleon/test,hayleysworld/asdfasdf,megaslowbro1/Pokemon-Showdown,Breakfastqueen/advanced,Disaster-Area/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Legendaryhades/Oblivion,LegendBorned/PS-Boilerplate,Werfin96/Ultimate,Ridukuo/Test,LightningStormServer/Lightning-Storm,Elveman/RPCShowdownServer,TheManwithskills/Server-2,catanatron/pokemon-rebalance,AWailOfATail/awoat,Atwar/ServerClassroom,Enigami/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,TheManwithskills/Server,cadaeic/Pokemon-Showdown,Sora-Server/Sora,Ridukuo/Test2,Kevinxzllz/PS-Openshift-Server,PS-Spectral/Spectral,InvalidDN/Pokemon-Showdown,KewlStatics/Alliance,DB898/theregalias,Evil-kun/Pokemon-Showdown,Nineage/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown-SMCMDM,SkyeTheFemaleSylveon/Mudkip-Server,ScottehMax/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,yashagl/pokecommunity,TogeSR/Lumen-Pokemon-Showdown,ZestOfLife/PSserver,MayukhKundu/Technogear,johtooo/PS,sirDonovan/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,aakashrajput/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,TheManwithskills/COC,urkerab/Pokemon-Showdown,MeliodasBH/Articuno-Land,psnsVGC/Wish-Server,KewlStatics/Shit,KewlStatics/Alliance,iFaZe/SilverZ,TheManwithskills/serenity,TheManwithskills/Server---Thermal,superman8900/Pokemon-Showdown,ehk12/clone,SerperiorBae/Pokemon-Showdown-1,TheManwithskills/Server-2,arkanox/MistShowdown,gustavo515/batata,TheManwithskills/Dusk--Showdown,javi501/Lumen-Pokemon-Showdown,Irraquated/EOS-Master,DarkSuicune/Pokemon-Showdown,HoeenCoder/SpacialGaze,MayukhKundu/Flame-Savior,yashagl/pokemon-showdown,SerperiorBae/Pokemon-Showdown,DesoGit/Tsunami_PS,Nineage/Origin,JellalTheMage/PS-,SSJGVegito007/Vegito-s-Server,SkyeTheFemaleSylveon/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,RustServer/Pokemon-Showdown,JellalTheMage/Jellals-Server,QuiteQuiet/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,Lord-Haji/SpacialGaze,Firestatics/Firestatics46,Parukia/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,Neosweiss/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,theodelhay/test,Psyientist/Showdown-Boilerplate,xfix/Pokemon-Showdown,SerperiorBae/PokemonShowdown2,scotchkorean27/Pokemon-Showdown,AWailOfATail/awoat,lAlejandro22/lolipoop,PrimalGallade45/Lumen-Pokemon-Showdown,brettjbush/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,KewlStatics/Pokeindia-Codes,ehk12/coregit,TheManwithskills/Server---Thermal,Kill-The-Noise/BlakJack-Boilerplate,javi501/Lumen-Pokemon-Showdown,Parukia/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,CorruptedHelix/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Celecitia/Plux-Pokemon-Showdown,Zarel/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,gustavo515/final,Ridukuo/Test2,Zarel/Pokemon-Showdown,Flareninja/Pokemon-Showdown,hayleysworld/serenityserver,SilverTactic/Showdown-Boilerplate,KewlStatics/Showdown-Template,Sora-League/Sora,BlazingAura/Showdown-Boilerplate,Sora-Server/Sora,Alpha-Devs/Alpha-Server,UniversalMan12/Universe-Server,TbirdClanWish/Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,Volcos/SpacialGaze,svivian/Pokemon-Showdown,yashagl/pokemon,lFernanl/Pokemon-Showdown,CrestfallPS/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,TheFenderStory/Showdown-Boilerplate,Vacate/Pokemon-Showdown,gustavo515/gashoro,Guernouille/Pokemon-Showdown,AvinashSwaminathan/lotus-v3,hayleysworld/Showdown-Boilerplate,kupochu/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,yashagl/yash-showdown,ZeroParadox/BlastBurners,anubhabsen/Pokemon-Showdown,johtooo/PS,Darkshadow6/PokeMoon-Creation,AustinXII/Pokemon-Showdown,Yggdrasil-League/Yggdrasil,Alpha-Devs/OmegaRuby-Server,Legit99/Lightning-Storm-Server,svivian/Pokemon-Showdown,kubetz/Pokemon-Showdown,EmmaKitty/Pokemon-Showdown,AbsolitoSweep/Absol-server,PauLucario/LQP-Server-Showdown,Vacate/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,Pikachuun/Touhoumon-Showdown,Enigami/Pokemon-Showdown,HoeenKid/Pokemon-Showdown-Johto,forbiddennightmare/Pokemon-Showdown-1,Kokonoe-san/Glacia-PS,BuzzyOG/Pokemon-Showdown,Tesarand/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,Atwar/ServerClassroom,asdfghjklohhnhn/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,panpawn/Gold-Server,Firestatics/Firestatics46,Ransei1/Alt,kupochu/Pokemon-Showdown,kuroscafe/Paradox,Irraquated/Pokemon-Showdown,comedianchameleon/test,Mystifi/Exiled,TheFenderStory/Pokemon-Showdown,SubZeroo99/Pokemon-Showdown,HoeenCoder/SpacialGaze,piiiikachuuu/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,svivian/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,Elveman/RPCShowdownServer,Git-Worm/City-PS,hayleysworld/serenityserver,Checkinator/Pokemon-Showdown,k3naan/Pokemon-Showdown,MeliodasBH/boarhat,zek7rom/SpacialGaze,Yggdrasil-League/Yggdrasil,hayleysworld/serenityc9,Syurra/Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,miahjennatills/Pokemon-Showdown,TheManwithskills/New-boiler-test,panpawn/Gold-Server,BuzzyOG/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,ehk12/bigbangtempclone,ZeroParadox/ugh,Thiediev/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,MayukhKundu/Mudkip-Server,Psyientist/Showdown-Boilerplate,MayukhKundu/Technogear-Final,kuroscafe/Showdown-Boilerplate,Hopenub/Pokemon-Showdown,Pablo000/aaa,Sora-League/Sora,Atwar/server-epilogueleague.rhcloud.com,DalleTest/Pokemon-Showdown,Mystifi/Exiled,Git-Worm/City-PS,Enigami/Pokemon-Showdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,VoltStorm/Server-pokemon-showdown,DarkSuicune/Kakuja-2.0,MayukhKundu/Technogear-Final,Breakfastqueen/advanced,QuiteQuiet/Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,Ecuacion/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,Flareninja/Sora,hayleysworld/Showdown-Boilerplate,comedianchameleon/servertest1,lFernanl/Lumen-Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,CharizardtheFireMage/Showdown-Boilerplate,hayleysworld/asdfasdf,xCrystal/Pokemon-Showdown,ehk12/coregit,yashagl/pokemon,Luobata/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,BasedGod7/PH,abrulochp/Dropp-Pokemon-Showdown,Flareninja/Showdown-Boilerplate,Bryan-0/Pokemon-Showdown,svivian/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,BuzzyOG/Pokemon-Showdown,lFernanl/Mudkip-Server,Wando94/Pokemon-Showdown,ShowdownHelper/Saffron,Sora-Server/Sora,LustyAsh/EOS-Master,Kill-The-Noise/BlakJack-Boilerplate,Pikachuun/Joimmon-Showdown,yashagl/pokecommunity,TheManwithskills/DS,xfix/Pokemon-Showdown,FakeSloth/wulu,gustavo515/test,Parukia/Pokemon-Showdown,zczd/enculer,Firestatics/omega,abrulochp/Dropp-Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,danpantry/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,SerperiorBae/Pokemon-Showdown,cadaeic/Pokemon-Showdown,panpawn/Gold-Server,KewlStatics/Pokeindia-Codes,MayukhKundu/Pokemon-Domain,scotchkorean27/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Arcticblast/Pokemon-Showdown,zczd/enculer,ZestOfLife/PSserver,sama2/Universe-Pokemon-Showdown,Mystifi/Exiled,panpawn/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,Ecuacion/Pokemon-Showdown,Wando94/Spite,abulechu/Lumen-Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Zipzapadam/Server,Hidden-Mia/Roleplay-PS,KaitoV4X/Showdown,Firestatics/Omega-Alpha,brettjbush/Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown,Legit99/Lightning-Storm-Server,AvinashSwaminathan/lotus-v2,megaslowbro1/Showdown-Server-again,sama2/Lumen-Pokemon-Showdown,SolarisFox/Pokemon-Showdown,Raina4uberz/Light-server,AustinXII/Pokemon-Showdown,megaslowbro1/Showdown-Server-again,Pokemon-Devs/Pokemon-Showdown,Sora-League/Sora,sama2/Viridian-Pokemon-Showdown,DalleTest/Pokemon-Showdown,MayukhKundu/Flame-Savior,Lauc1an/Perulink-Showdown,TheManwithskills/DS,Fusxfaranto/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,SerperiorBae/BaeShowdown,EienSeiryuu/Pokemon-Showdown,iFaZe/SliverX,ZeroParadox/ugh,TheManwithskills/New-boiler-test,ehk12/bigbangtempclone,Chespin14/Custom-Platform-Pokemon-Showdown,ehk12/clone,FakeSloth/Infinite,Stroke123/POKEMON,SerperiorBae/Bae-Showdown-2,Flareninja/Sora,DesoGit/TsunamiPS,Lord-Haji/SpacialGaze,Flareninja/Hispano-Pokemon-Showdown,DesoGit/Tsunami_PS,AnaRitaTorres/Pokemon-Showdown,Oiawesome/DPPtServ2,xCrystal/Pokemon-Showdown,SerperiorBae/PokemonShowdown2,lFernanl/Lumen-Pokemon-Showdown,LustyAsh/EOS-Master,Articuno-I/Pokemon-Showdown,Firestatics/Omega-Alpha,hayleysworld/harmonia,Flareninja/Sora,lFernanl/Zero-Pokemon-Showdown,MeliodasBH/Articuno-Land,SerperiorBae/Bae-Showdown,DB898/theregalias,abrulochp/Lumen-Pokemon-Showdown,Pikachuun/Pokemon-Showdown,Adithya4Uberz/KTN,Adithya4Uberz/The-Tsunami-League,Evil-kun/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,svivian/Pokemon-Showdown,Wando94/Spite,DarkSuicune/Kakuja-2.0,JennyPRO/Jenny,Flareninja/Pokemon-Showdown-1,TheDiabolicGift/Showdown-Boilerplate,LegendBorned/PS-Boilerplate,xfix/Pokemon-Showdown,superman8900/Pokemon-Showdown,PS-Spectral/Spectral,CreaturePhil/Pokemon-Showdown,azum4roll/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,Celecitia/Plux-Pokemon-Showdown,Ransei1/Alt,yashagl/pokemon-showdown,UniversalMan12/Universe-Server,SerperiorBae/Pokemon-Showdown,LightningStormServer/Lightning-Storm,UniversalMan12/Universe-Server,Irraquated/Showdown-Boilerplate,AvinashSwaminathan/Pokelegends,catanatron/pokemon-rebalance,AvinashSwaminathan/lotus,Kokonoe-san/Glacia-PS,abulechu/Lumen-Pokemon-Showdown,PauLucario/LQP-Server-Showdown,gustavo515/test,Stroke123/POKEMON,Alpha-Devs/OmegaRuby-Server,urkerab/Pokemon-Showdown,CorruptedHelix/Pokemon-Showdown,AbsolitoSweep/Absol-server,Flareninja/Pokemon-Showdown,Guernouille/Pokemon-Showdown,comedianchameleon/servertest1,xCrystal/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Firestatics/omega,azum4roll/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,lFernanl/Mudkip-Server,MayukhKundu/Pokemon-Domain,EmmaKitty/Pokemon-Showdown,Checkinator/Pokemon-Showdown,FakeSloth/Infinite,Nineage/Origin,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,xfix/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,anubhabsen/Pokemon-Showdown,JellalTheMage/Jellals-Server,k3naan/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,ankailou/Pokemon-Showdown,Extradeath/advanced,MeliodasBH/boarhat,MayukhKundu/Mudkip-Server,psnsVGC/Wish-Server,NoahVSGamingYT/Pokemon-Showdown,SerperiorBae/BaeShowdown,ShowdownHelper/Saffron,Alpha-Devs/Alpha-Server,jd4564/Pokemon-Showdown,TheManwithskills/COC,Tesarand/Pokemon-Showdown,yashagl/yash-showdown,HoeenCoder/SpacialGaze,bai2/Dropp,PS-Spectral/Spectral,ZestOfLife/FestiveLife,Irraquated/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,Gold-Solox/Pokemon-Showdown,ShowdownHelper/Saffron,Tesarand/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,CreaturePhil/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,SerperiorBae/Bae-Showdown,ZestOfLife/FestiveLife,CreaturePhil/Showdown-Boilerplate,Darkshadow6/PokeMoon-Creation,Enigami/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,Wando94/Pokemon-Showdown,BlakJack/Kill-The-Noise,Irraquated/Showdown-Boilerplate,TheDiabolicGift/Lumen-Pokemon-Showdown,Lord-Haji/SpacialGaze,sirDonovan/Pokemon-Showdown,KaitoV4X/Showdown,MayukhKundu/Technogear,BlazingAura/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown-SMCMDM,Zarel/Pokemon-Showdown,Zipzapadam/Server,Irraquated/Pokemon-Showdown,Syurra/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,JellalTheMage/PS-,SilverTactic/Pokemon-Showdown,xfix/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,lAlejandro22/lolipoop,gustavo515/batata,arkanox/MistShowdown,Johto-Serverr/Werfin-Boilerplate,Extradeath/psserver,EienSeiryuu/Pokemon-Showdown,Extradeath/advanced,jd4564/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,sama2/Lumen-Pokemon-Showdown,Disaster-Area/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,QuiteQuiet/Pokemon-Showdown,RustServer/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,JennyPRO/Jenny,TheDiabolicGift/Showdown-Boilerplate,KewlStatics/Shit,Lauc1an/Perulink-Showdown,zek7rom/SpacialGaze,gustavo515/final,BadSteel/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,hayleysworld/harmonia,Oiawesome/DPPtServ2,AWailOfATail/Pokemon-Showdown,Kenny-/Pokemon-Showdown,TheManwithskills/Server,Pokemon-Devs/Pokemon-Showdown,TheManwithskills/Server-2,panpawn/Pokemon-Showdown,KewlStatics/Showdown-Template,Breakfastqueen/advanced,SerperiorBae/Bae-Showdown,kubetz/Pokemon-Showdown,HoeenCoder/SpacialGaze,hayleysworld/serenity