Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED

Port From (https://github.com/TrinityCore/TrinityCore/commit/54044bda8219e712eaec6148af4db6523386cc0f)
This commit is contained in:
hondacrx
2021-12-07 20:21:31 -05:00
parent e1d1157f87
commit b7e4c2fd76
+1 -1
View File
@@ -701,7 +701,7 @@ namespace Game.AI
public override void SummonedCreatureDespawn(Creature summon)
{
GetScript().ProcessEventsFor(SmartEvents.SummonDespawned, summon);
GetScript().ProcessEventsFor(SmartEvents.SummonDespawned, summon, summon.GetEntry());
}
public override void CorpseRemoved(long respawnDelay)