Core/Script: Missing check on medivh script, fixed crash
This commit is contained in:
parent
b618027b3b
commit
8cee0fe498
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ public:
|
|||
events.Reset();
|
||||
me->CastSpell(me, SPELL_MANA_SHIELD, true);
|
||||
|
||||
if (instance->GetData(TYPE_AEONUS) != DONE)
|
||||
if (instance && instance->GetData(TYPE_AEONUS) != DONE)
|
||||
me->CastSpell(me, SPELL_MEDIVH_CHANNEL, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue