mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 01:26:50 -05:00
Update ItemStorage7SM.cs
This commit is contained in:
@@ -208,7 +208,7 @@ public bool IsLegal(InventoryType type, int itemIndex, int itemCount)
|
||||
if (items.BinarySearch((ushort)itemIndex) < 0)
|
||||
return false;
|
||||
|
||||
return Unreleased.BinarySearch((ushort)itemIndex) >= 0;
|
||||
return Unreleased.BinarySearch((ushort)itemIndex) < 0;
|
||||
}
|
||||
|
||||
public ReadOnlySpan<ushort> GetItems(InventoryType type) => type switch
|
||||
|
||||
Reference in New Issue
Block a user