fix: Buru crash (#12858)
This commit is contained in:
parent
2ed6848d6a
commit
2acd0a4bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ struct boss_buru : public BossAI
|
|||
|
||||
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType, SpellSchoolMask) override
|
||||
{
|
||||
if (attacker->GetEntry() == NPC_BURU_EGG)
|
||||
if (attacker && attacker->GetEntry() == NPC_BURU_EGG)
|
||||
{
|
||||
me->LowerPlayerDamageReq(damage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue