fix IsInPvpProhibitedZone

This commit is contained in:
Yunfan Li
2023-07-31 12:47:24 +08:00
parent aaae6b6476
commit ead4a2fe56
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ bool AttackEnemyPlayerAction::isUseful()
if (bot->HasAura(23333) || bot->HasAura(23335) || bot->HasAura(34976))
return false;
return !sPlayerbotAIConfig->IsInPvpProhibitedZone(bot->GetAreaId());
return !sPlayerbotAIConfig->IsInPvpProhibitedZone(bot->GetZoneId());
}
bool AttackEnemyFlagCarrierAction::isUseful()