mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Scripts/Magisters Terrace: Removed not allowed ENSURE_AI call from constructor
Closes #20727
(cherry picked from commit cfaa4e6caf)
This commit is contained in:
@@ -352,7 +352,6 @@ struct boss_priestess_lackey_commonAI : public ScriptedAI
|
||||
{
|
||||
Initialize();
|
||||
instance = creature->GetInstanceScript();
|
||||
AcquireGUIDs();
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
@@ -376,6 +375,7 @@ struct boss_priestess_lackey_commonAI : public ScriptedAI
|
||||
void Reset() override
|
||||
{
|
||||
Initialize();
|
||||
AcquireGUIDs();
|
||||
|
||||
// in case she is not alive and Reset was for some reason called, respawn her (most likely party wipe after killing her)
|
||||
if (Creature* pDelrissa = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_DELRISSA)))
|
||||
|
||||
Reference in New Issue
Block a user