mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
parent
f89452bd41
commit
ab33f7123b
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ namespace PKHeX.Core
|
|||
return m;
|
||||
|
||||
var encounter = legal.GetSuggestedMetInfo();
|
||||
if (encounter.Relearn.Length > 0)
|
||||
if (encounter?.Relearn?.Length > 0)
|
||||
m = encounter.Relearn;
|
||||
|
||||
return m;
|
||||
|
|
Loading…
Add table
Reference in a new issue