Merge pull request #575 from avirar/master

Update UtgardeKeepTriggers.cpp
This commit is contained in:
Yunfan Li
2024-10-04 12:54:00 +08:00
committed by GitHub

View File

@@ -8,7 +8,8 @@ bool KelesethFrostTombTrigger::IsActive()
GuidVector members = AI_VALUE(GuidVector, "group members");
for (auto& member : members)
{
if (botAI->GetUnit(member)->HasAura(DEBUFF_FROST_TOMB))
Unit* unit = botAI->GetUnit(member);
if (unit && unit->HasAura(DEBUFF_FROST_TOMB))
{
return true;
}