mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 17:25:14 -05:00
Update LearnGroupHOME.cs
This commit is contained in:
@@ -246,7 +246,7 @@ private static void AddExclusiveMoves(Span<bool> result, PKM pk)
|
||||
IEncounterTemplate enc,
|
||||
MoveSourceType types, LearnOption option, ReadOnlySpan<EvoCriteria> evos, IHomeSource local) where T : ILearnGroup
|
||||
{
|
||||
var length = instance.MaxMoveID;
|
||||
var length = instance.MaxMoveID + 1;
|
||||
var rent = ArrayPool<bool>.Shared.Rent(length);
|
||||
var temp = rent.AsSpan(0, length);
|
||||
instance.GetAllMoves(temp, pk, history, enc, types, option);
|
||||
|
||||
Reference in New Issue
Block a user