Fix crash in getRooms
Fix crash in getRooms

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