Scripts/FollowerAI: Some cleanup:
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3eb07889f72955879c8a0e0881b51befb60067)
This commit is contained in:
@@ -2348,7 +2348,7 @@ namespace Game.Maps
|
||||
continue;
|
||||
|
||||
// escort NPCs are allowed to respawn as long as all other instances are already escorting
|
||||
if (isEscort && creature.IsEscortNPC(true))
|
||||
if (isEscort && creature.IsEscorted())
|
||||
continue;
|
||||
|
||||
doDelete = true;
|
||||
|
||||
Reference in New Issue
Block a user