mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 00:49:27 +02:00
Fix isItemInRequested
This commit is contained in:
parent
1f77eb4dff
commit
e64117d6a6
@ -140,7 +140,5 @@ export function isItemInRequested(
|
||||
itemId: HeldItemId,
|
||||
requestedItems: (HeldItemCategoryId | HeldItemId)[]
|
||||
): boolean {
|
||||
return requestedItems.some(entry => {
|
||||
itemId === entry || (itemId & ITEM_CATEGORY_MASK) === entry
|
||||
});
|
||||
return requestedItems.some(entry => itemId === entry || (itemId & ITEM_CATEGORY_MASK) === entry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user