Core/Players: Fixed storing items in bank bags slots 67-74

Signed-off-by: luis <[email protected]>
This commit is contained in:
Shauren
2026-02-22 18:33:02 -03:00
committed by luis
parent 25bfe91397
commit dec0ec0c6e
+1 -1
View File
@@ -11127,7 +11127,7 @@ InventoryResult Player::CanBankItem(uint8 bag, uint8 slot, ItemPosCountVec& dest
// in specific slot // in specific slot
if (bag != NULL_BAG && slot != NULL_SLOT) if (bag != NULL_BAG && slot != NULL_SLOT)
{ {
if (slot >= BANK_SLOT_BAG_START && slot < BANK_SLOT_BAG_END) if (bag == INVENTORY_SLOT_BAG_0 && slot >= BANK_SLOT_BAG_START && slot < BANK_SLOT_BAG_END)
{ {
if (!pItem->IsBag()) if (!pItem->IsBag())
return EQUIP_ERR_WRONG_SLOT; return EQUIP_ERR_WRONG_SLOT;