mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768)
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
|
||||
void JustDied(Unit* killer) override
|
||||
{
|
||||
if (killer->GetGUID() != me->GetGUID())
|
||||
if (killer && killer->GetGUID() != me->GetGUID())
|
||||
if (InstanceScript* pInstance = me->GetInstanceScript())
|
||||
pInstance->SetData(DATA_ON_THE_ROCKS_ACHIEV, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user