mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Fix gen4-6 gen4 origin encounter type defer check
only check etype if appropriate (not gen7+)
This commit is contained in:
parent
d1bae13250
commit
76903bce9f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
if (!info.PIDIV.Type.IsCompatible4(z, pkm))
|
||||
deferredPIDIV.Add(z);
|
||||
else if (!IsEncounterTypeMatch(z, pkm.EncounterType))
|
||||
else if (pkm.Format <= 6 && !IsEncounterTypeMatch(z, pkm.EncounterType))
|
||||
deferredEType.Add(z);
|
||||
else
|
||||
yield return z;
|
||||
|
|
Loading…
Reference in a new issue