mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Fixed crash after 635f7831e1
This commit is contained in:
@@ -1568,7 +1568,7 @@ class spell_dk_death_grip : public SpellScriptLoader
|
||||
|
||||
if (caster != target)
|
||||
{
|
||||
if (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss())
|
||||
if (targetCreature && (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user