mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-31 09:23:47 +00:00
Update EquipAction.cpp
This commit is contained in:
@@ -88,7 +88,7 @@ void EquipAction::EquipItem(Item* item)
|
|||||||
|
|
||||||
if (!equippedBag)
|
if (!equippedBag)
|
||||||
{
|
{
|
||||||
uint8 dstSlot = botAI->FindEquipSlot(item->GetTemplate(), NULL_SLOT, true);
|
uint8 dstSlot = botAI->FindEquipSlot(itemProto, NULL_SLOT, true);
|
||||||
if (dstSlot == EQUIPMENT_SLOT_FINGER1 ||
|
if (dstSlot == EQUIPMENT_SLOT_FINGER1 ||
|
||||||
dstSlot == EQUIPMENT_SLOT_TRINKET1 ||
|
dstSlot == EQUIPMENT_SLOT_TRINKET1 ||
|
||||||
dstSlot == EQUIPMENT_SLOT_MAINHAND)
|
dstSlot == EQUIPMENT_SLOT_MAINHAND)
|
||||||
|
|||||||
Reference in New Issue
Block a user