mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +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 (caster != target)
|
||||||
{
|
{
|
||||||
if (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss())
|
if (targetCreature && (targetCreature->isWorldBoss() || targetCreature->IsDungeonBoss()))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user