mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Check species for static enc match
like all other IEncounterable types, before calling the match method, check species directly
This commit is contained in:
parent
af99e0b37c
commit
fbf7a3658a
2 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ namespace PKHeX.Core
|
|||
{
|
||||
foreach (var dl in evos)
|
||||
{
|
||||
if (dl.Species != e.Species)
|
||||
continue;
|
||||
if (!e.IsMatch(pkm, dl))
|
||||
continue;
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue