Fix crash caused by missed instance of toID (#7193)
Fix crash caused by missed instance of toID (#7193)


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