feat(Core/Instance): Add instance validation for creature scripts (#4596)

This commit is contained in:
Kitzunu 2021-04-05 15:34:26 +02:00 committed by GitHub
parent 60f865fce6
commit f9d708b450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
371 changed files with 1315 additions and 767 deletions

View file

@ -54,7 +54,7 @@ public:
CreatureAI* GetAI(Creature* pCreature) const override
{
return new boss_anubrekhanAI (pCreature);
return GetNaxxramasAI<boss_anubrekhanAI>(pCreature);
}
struct boss_anubrekhanAI : public BossAI