Core/Players: Fixed storing items in bank bags slots 67-74
Signed-off-by: luis <[email protected]>
This commit is contained in:
@@ -11127,7 +11127,7 @@ InventoryResult Player::CanBankItem(uint8 bag, uint8 slot, ItemPosCountVec& dest
|
||||
// in specific 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())
|
||||
return EQUIP_ERR_WRONG_SLOT;
|
||||
|
||||
Reference in New Issue
Block a user