Fix crash in /randset (#8079)
Fix crash in /randset (#8079)


sirDonovan/Pokemon-Showdown,xfix/Pokemon-Showdown,xfix/Pokemon-Showdown,Zarel/Pokemon-Showdown,Zarel/Pokemon-Showdown,xfix/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,Zarel/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,svivian/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,xfix/Pokemon-Showdown,xfix/Pokemon-Showdown