mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Fix bots looting quest objects
This commit is contained in:
parent
13647f286a
commit
5d64cd04dc
@ -96,7 +96,7 @@ void LootObject::Refresh(Player* bot, ObjectGuid lootGUID)
|
|||||||
|
|
||||||
if (IsNeededForQuest(bot, itemId))
|
if (IsNeededForQuest(bot, itemId))
|
||||||
{
|
{
|
||||||
this->guid = guid;
|
this->guid = lootGUID;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
isQuestItemOnly |= itemId > 0;
|
isQuestItemOnly |= itemId > 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user