Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/54044bda8219e712eaec6148af4db6523386cc0f)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user