mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
fixed a typo
This commit is contained in:
@@ -10939,7 +10939,7 @@ InventoryResult Player::CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec &des
|
||||
// search free slot
|
||||
uint8 searchSlotStart = INVENTORY_SLOT_ITEM_START;
|
||||
// new bags can be directly equipped
|
||||
if (!pItem && pProto->Bonding == ITEM_CLASS_CONTAINER && pProto->SubClass == ITEM_SUBCLASS_CONTAINER &&
|
||||
if (!pItem && pProto->Class == ITEM_CLASS_CONTAINER && pProto->SubClass == ITEM_SUBCLASS_CONTAINER &&
|
||||
(pProto->Bonding == NO_BIND || pProto->Bonding == BIND_WHEN_PICKED_UP))
|
||||
searchSlotStart = INVENTORY_SLOT_BAG_START;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user