mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-08 12:05:35 -05:00
@@ -261,7 +261,7 @@ public void sortName(string[] names, bool reverse = false)
|
||||
public void sanitizePouch(bool HaX, int MaxItemID)
|
||||
{
|
||||
var x = Items.Where(item => item.Valid(LegalItems, HaX, MaxItemID)).ToArray();
|
||||
Items = x.Concat(new byte[MaxCount - x.Length].Select(i => new InventoryItem())).ToArray();
|
||||
Items = x.Concat(new byte[PouchDataSize - x.Length].Select(i => new InventoryItem())).ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user