mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 06:36:24 +00:00
Core/Script: Missing check on medivh script, fixed crash
This commit is contained in:
@@ -113,7 +113,7 @@ public:
|
|||||||
events.Reset();
|
events.Reset();
|
||||||
me->CastSpell(me, SPELL_MANA_SHIELD, true);
|
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);
|
me->CastSpell(me, SPELL_MEDIVH_CHANNEL, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user