mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Core/Quests: Don't send SMSG_QUEST_GIVER_QUEST_COMPLETE for tracking quests (#30348)
(cherry picked from commit 57f297b4e7)
# Conflicts:
# src/server/game/Entities/Player/Player.cpp
This commit is contained in:
@@ -16181,6 +16181,9 @@ void Player::SendQuestReward(Quest const* quest, Creature const* questGiver, uin
|
||||
uint32 questId = quest->GetQuestId();
|
||||
sGameEventMgr->HandleQuestComplete(questId);
|
||||
|
||||
if (quest->HasFlag(QUEST_FLAGS_TRACKING_EVENT))
|
||||
return;
|
||||
|
||||
WorldPackets::Quest::QuestGiverQuestComplete packet;
|
||||
|
||||
packet.QuestID = questId;
|
||||
|
||||
Reference in New Issue
Block a user