mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Merge pull request #397 from noisiver/loot-quest-objects
Fix bots looting quest objects
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user