Check species for static enc match

like all other IEncounterable types, before calling the match method, check species directly
This commit is contained in:
Kurt 2020-09-24 19:44:48 -07:00
parent af99e0b37c
commit fbf7a3658a
2 changed files with 2 additions and 0 deletions

View file

@ -45,6 +45,8 @@ namespace PKHeX.Core
{
foreach (var dl in evos)
{
if (dl.Species != e.Species)
continue;
if (!e.IsMatch(pkm, dl))
continue;