fix: Buru crash (#12858)

This commit is contained in:
Angelo Venturini 2022-08-26 16:50:07 -03:00 committed by GitHub
parent 2ed6848d6a
commit 2acd0a4bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}