mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 12:06:47 -05:00
Fix g4 ingame trade exception
Resolves the Internal Error exception where the EncounterMatch was not overwritten; in the case of some encounters, an encounterslot[] was provided -> invalid cast #1095
This commit is contained in:
@@ -1063,8 +1063,8 @@ private CheckResult verifyEncounterG4Transfer()
|
||||
var trade = Legal.getValidIngameTrade(pkm);
|
||||
if (trade != null)
|
||||
{
|
||||
Gen4Result = verifyEncounterTrade();
|
||||
EncounterMatch = trade;
|
||||
Gen4Result = verifyEncounterTrade();
|
||||
}
|
||||
|
||||
verifyTransferLegalityG4();
|
||||
|
||||
Reference in New Issue
Block a user