Merge commit 'c87de730fae0914a5d0741365066007a46f9a469' into 4.3.4
This commit is contained in:
commit
95b79c2605
5 files changed
+492
-5
No files matched your search
@@ -467,6 +467,12 @@ void WorldSession::HandleQuestConfirmAccept(WorldPacket& recvData)
|
||||
if (!_player->IsInSameRaidWith(originalPlayer))
|
||||
return;
|
||||
|
||||
if (!originalPlayer->CanShareQuest(questId))
|
||||
return;
|
||||
|
||||
if (!_player->CanTakeQuest(quest, true))
|
||||
return;
|
||||
|
||||
if (_player->CanAddQuest(quest, true))
|
||||
_player->AddQuestAndCheckCompletion(quest, NULL); // NULL, this prevent DB script from duplicate running
|
||||
|
||||
|
||||
Reference in new issue
Block a user