diff --git a/src/strategy/values/TankTargetValue.cpp b/src/strategy/values/TankTargetValue.cpp index 573d2977..817dbd50 100644 --- a/src/strategy/values/TankTargetValue.cpp +++ b/src/strategy/values/TankTargetValue.cpp @@ -13,7 +13,7 @@ class FindTargetForTankStrategy : public FindNonCcTargetStrategy void CheckAttacker(Unit* creature, ThreatMgr* threatMgr) override { - if (!creature->IsAlive()) { + if (!creature || !creature->IsAlive()) { return; } Player* bot = botAI->GetBot();