mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Core/Players: Fixed storing items in bank bags slots 67-74
This commit is contained in:
@@ -11097,7 +11097,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