fix(Core/Player): Allow to swap bags when they are filled (#17086)
This commit is contained in:
@@ -944,9 +944,6 @@ InventoryResult Player::CanStoreItem_InSpecificSlot(uint8 bag, uint8 slot, ItemP
|
|||||||
|
|
||||||
uint32 need_space;
|
uint32 need_space;
|
||||||
|
|
||||||
if (pSrcItem && pSrcItem->IsNotEmptyBag() && !IsBagPos(uint16(bag) << 8 | slot))
|
|
||||||
return EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS;
|
|
||||||
|
|
||||||
// empty specific slot - check item fit to slot
|
// empty specific slot - check item fit to slot
|
||||||
if (!pItem2 || swap)
|
if (!pItem2 || swap)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user