Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT

Port From (https://github.com/TrinityCore/TrinityCore/commit/5a516fb6549e460e68b45005a17ec1b6217fefa5)
This commit is contained in:
hondacrx
2022-10-04 19:59:15 -04:00
parent 9d6b144884
commit 87fdd30072
6 changed files with 37 additions and 10 deletions
+2
View File
@@ -1267,6 +1267,8 @@ namespace Game.Spells
if (addon != null)
loot.GenerateMoneyLoot(addon.Mingold, addon.Maxgold);
}
loot.SetDungeonEncounterId(gameObjTarget.GetGoInfo().Chest.DungeonEncounter);
}
/// @todo possible must be moved to loot release (in different from linked triggering)