Compare commits

...

1 Commits

Author SHA1 Message Date
bash
5af1bf9a88 ForgeOfSoulsTriggers.cpp added null check 2024-11-18 22:04:44 +01:00

View File

@@ -7,7 +7,7 @@ bool MoveFromBronjahmTrigger::IsActive()
{
Unit* boss = AI_VALUE2(Unit*, "find target", "bronjahm");
if (boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
if (boss && boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
return true;
return false;