mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Scripts/Toc: Fix a possible crash with grand champions encounter.
This commit is contained in:
@@ -839,7 +839,8 @@ public:
|
||||
if (target && me->IsInRange(target, 5.0f, 30.0f, false))
|
||||
{
|
||||
DoCast(target, SPELL_MULTI_SHOT);
|
||||
} else
|
||||
}
|
||||
else if (target)
|
||||
{
|
||||
Map::PlayerList const& players = me->GetMap()->GetPlayers();
|
||||
if (me->GetMap()->IsDungeon() && !players.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user