mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-13 03:22:40 -04:00
Core/AI: Remove "enforced override"-check in the EventAI-manager in case of AI not being set to EventAI.
This commit is contained in:
@@ -740,10 +740,7 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts()
|
||||
if (CreatureTemplate const* cInfo = sObjectMgr->GetCreatureTemplate(itr->first))
|
||||
{
|
||||
if (cInfo->AIName != "EventAI")
|
||||
{
|
||||
sLog->outErrorDb("Creature entry %u has EventAI scripts, but its AIName is not 'EventAI', changing to EventAI", itr->first);
|
||||
const_cast<CreatureTemplate*>(cInfo)->AIName = "EventAI";
|
||||
}
|
||||
sLog->outErrorDb("Creature entry %u has EventAI scripts, but its AIName is not 'EventAI' - possible AI-mismatch?", itr->first);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user