fix: Crash (#13559)
This commit is contained in:
parent
be64080056
commit
860a5b8094
1 changed files with 2 additions and 1 deletions
|
|
@ -402,7 +402,8 @@ struct npc_obsidian_nullifier : public ScriptedAI
|
|||
|
||||
for (Unit* target : _targets)
|
||||
{
|
||||
DoCast(target, SPELL_DRAIN_MANA_NULLIFIER, true);
|
||||
if (target)
|
||||
DoCast(target, SPELL_DRAIN_MANA_NULLIFIER, true);
|
||||
}
|
||||
|
||||
if (me->GetPowerPct(POWER_MANA) >= 100.f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue