mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
tank target fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user