mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
parent
a98ac6979c
commit
51975e4bdd
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ namespace PKHeX.Core
|
|||
|
||||
public void PushMove(int move)
|
||||
{
|
||||
if (move == 0 || (uint)move >= MaxMoveID)
|
||||
if (move == 0 || (uint)move >= MaxMoveID || HasMove(move))
|
||||
return;
|
||||
|
||||
var ct = MoveCount;
|
||||
|
|
Loading…
Reference in a new issue