From 5d64cd04dcbb78c96bdf062c420e5ab1ec3a7dd9 Mon Sep 17 00:00:00 2001 From: Revision Date: Sun, 28 Jul 2024 04:00:51 +0200 Subject: [PATCH] Fix bots looting quest objects --- src/LootObjectStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LootObjectStack.cpp b/src/LootObjectStack.cpp index acda2e2f..5b792865 100644 --- a/src/LootObjectStack.cpp +++ b/src/LootObjectStack.cpp @@ -96,7 +96,7 @@ void LootObject::Refresh(Player* bot, ObjectGuid lootGUID) if (IsNeededForQuest(bot, itemId)) { - this->guid = guid; + this->guid = lootGUID; return; } isQuestItemOnly |= itemId > 0;