Core/Quests: fixed accepting shareable chain quests when the previous quest was completed via UI popup
This commit is contained in:
1 parent
df8e039b28
commit
6de4fe935d
1 file changed
+2
-1
@@ -127,7 +127,8 @@ void WorldSession::HandleQuestgiverAcceptQuestOpcode(WorldPackets::Quest::QuestG
|
||||
|
||||
if (Player* playerQuestObject = object->ToPlayer())
|
||||
{
|
||||
if ((_player->GetPlayerSharingQuest() && _player->GetPlayerSharingQuest() != packet.QuestGiverGUID) || !playerQuestObject->CanShareQuest(packet.QuestID))
|
||||
if ((!_player->GetPlayerSharingQuest().IsEmpty() && _player->GetPlayerSharingQuest() != packet.QuestGiverGUID)
|
||||
|| (_player != playerQuestObject && !playerQuestObject->CanShareQuest(packet.QuestID)))
|
||||
{
|
||||
CLOSE_GOSSIP_CLEAR_SHARING_INFO();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user