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:
Meji
2024-10-15 17:40:37 +02:00
committed by Ovahlord
parent 78671afa54
commit fa5ba78385

View File

@@ -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;