mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
fix(Core/Instance): AhnQiraj crash (#16124)
This commit is contained in:
@@ -222,7 +222,7 @@ public:
|
||||
|
||||
void DamageTaken(Unit* who, uint32& damage, DamageEffectType, SpellSchoolMask) override
|
||||
{
|
||||
if (_dying && who->GetGUID() != me->GetGUID())
|
||||
if (_dying && who && who->GetGUID() != me->GetGUID())
|
||||
damage = 0;
|
||||
|
||||
if (me->HealthBelowPctDamaged(0, damage) && instance->GetData(DATA_BUG_TRIO_DEATH) < 2 && !_dying)
|
||||
|
||||
Reference in New Issue
Block a user