mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Merge pull request #12000 from Dehravor/algalon-big-bang
Scripts/Ulduar: Fix crash when Algalon's Big Bang is casted by player
This commit is contained in:
@@ -1196,7 +1196,7 @@ class spell_algalon_big_bang : public SpellScriptLoader
|
||||
bool Load() override
|
||||
{
|
||||
_targetCount = 0;
|
||||
return true;
|
||||
return GetCaster()->GetTypeId() == TYPEID_UNIT && GetCaster()->IsAIEnabled;
|
||||
}
|
||||
|
||||
void CountTargets(std::list<WorldObject*>& targets)
|
||||
|
||||
Reference in New Issue
Block a user