Fix crash in rulesets
Fix crash in rulesets

Lord-Haji/SpacialGaze,aakashrajput/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Git-Worm/City-PS,EienSeiryuu/Pokemon-Showdown,ShowdownHelper/Saffron,danpantry/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,zek7rom/SpacialGaze,xCrystal/Pokemon-Showdown,AustinXII/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,urkerab/Pokemon-Showdown,PS-Spectral/Spectral,Guernouille/Pokemon-Showdown,xfix/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Zarel/Pokemon-Showdown,DesoGit/Tsunami_PS,TbirdClanWish/Pokemon-Showdown,DesoGit/Tsunami_PS,jd4564/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Enigami/Pokemon-Showdown,Lord-Haji/SpacialGaze,svivian/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,svivian/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,svivian/Pokemon-Showdown,panpawn/Gold-Server,xfix/Pokemon-Showdown,xCrystal/Pokemon-Showdown,HoeenCoder/SpacialGaze,Bryan-0/Pokemon-Showdown,panpawn/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,KewlStatics/Shit,danpantry/Pokemon-Showdown,HoeenCoder/SpacialGaze,ShowdownHelper/Saffron,Lord-Haji/SpacialGaze,azum4roll/Pokemon-Showdown,PS-Spectral/Spectral,HoeenCoder/SpacialGaze,Mystifi/Exiled,Git-Worm/City-PS,xCrystal/Pokemon-Showdown,Sora-League/Sora,urkerab/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,panpawn/Gold-Server,panpawn/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Volcos/SpacialGaze,jd4564/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,QuiteQuiet/Pokemon-Showdown,Kokonoe-san/Glacia-PS,urkerab/Pokemon-Showdown,AustinXII/Pokemon-Showdown,KewlStatics/Shit,Mystifi/Exiled,Guernouille/Pokemon-Showdown,xfix/Pokemon-Showdown,KewlStatics/Alliance,QuiteQuiet/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Zarel/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,AWailOfATail/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,PS-Spectral/Spectral,HoeenCoder/SpacialGaze,TbirdClanWish/Pokemon-Showdown,panpawn/Gold-Server,Sora-League/Sora,KewlStatics/Alliance,svivian/Pokemon-Showdown,xfix/Pokemon-Showdown,ShowdownHelper/Saffron,Zarel/Pokemon-Showdown,cadaeic/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Enigami/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,svivian/Pokemon-Showdown,Volcos/SpacialGaze,Pikachuun/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,cadaeic/Pokemon-Showdown,Enigami/Pokemon-Showdown,xfix/Pokemon-Showdown,DesoGit/Tsunami_PS,Sora-League/Sora,Pikachuun/Pokemon-Showdown,Mystifi/Exiled,zek7rom/SpacialGaze,jumbowhales/Pokemon-Showdown,Enigami/Pokemon-Showdown