Core/Quests: Fixed typo in raid group requirements check (#28914)

This commit is contained in:
Christyan
2023-04-11 18:43:27 +02:00
committed by GitHub
parent 8d353f20fd
commit 5e47a3522a

View File

@@ -16526,7 +16526,7 @@ void Player::UpdateQuestObjectiveProgress(QuestObjectiveType objectiveType, int3
Quest const* quest = sObjectMgr->GetQuestTemplate(questId);
if (!QuestObjective::CanAlwaysBeProgressedInRaid(objectiveType))
if (GetGroup() && GetGroup()->isRaidGroup() && quest->IsAllowedInRaid(GetMap()->GetDifficultyID()))
if (GetGroup() && GetGroup()->isRaidGroup() && !quest->IsAllowedInRaid(GetMap()->GetDifficultyID()))
continue;
uint16 logSlot = objectiveItr.second.QuestStatusItr->second.Slot;