mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-11 08:55:24 -05:00
Silly for-loop fix
Wrong way.
This commit is contained in:
@@ -34,7 +34,7 @@ public static Learnset[] getArray(byte[][] entries)
|
||||
|
||||
public int[] getMoves(int level)
|
||||
{
|
||||
for (int i = 0; i > Levels.Length; i++)
|
||||
for (int i = 0; i < Levels.Length; i++)
|
||||
if (Levels[i] > level)
|
||||
return Moves.Take(i).ToArray();
|
||||
return Moves;
|
||||
|
||||
Reference in New Issue
Block a user