mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Update TechnicalRecordApplicator.cs
This commit is contained in:
parent
c7f24eecd0
commit
2f5635613e
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ namespace PKHeX.Core
|
|||
|
||||
var permit = pk.TechRecordPermitFlags;
|
||||
var moveIDs = pk.TechRecordPermitIndexes;
|
||||
if (permit.Length != moveIDs.Length)
|
||||
return;
|
||||
|
||||
foreach (var m in moves)
|
||||
{
|
||||
var index = moveIDs.IndexOf(m);
|
||||
|
|
Loading…
Add table
Reference in a new issue