mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix: Buru crash (#12858)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user