mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core/Loot: Allocate Loot separately from objects
This commit is contained in:
@@ -1024,9 +1024,9 @@ void Group::SendLooter(Creature* creature, Player* groupLooter)
|
||||
WorldPackets::Loot::LootList lootList;
|
||||
|
||||
lootList.Owner = creature->GetGUID();
|
||||
lootList.LootObj = creature->loot.GetGUID();
|
||||
lootList.LootObj = creature->m_loot->GetGUID();
|
||||
|
||||
if (GetLootMethod() == MASTER_LOOT && creature->loot.hasOverThresholdItem())
|
||||
if (GetLootMethod() == MASTER_LOOT && creature->m_loot->hasOverThresholdItem())
|
||||
lootList.Master = GetMasterLooterGuid();
|
||||
|
||||
if (groupLooter)
|
||||
|
||||
Reference in New Issue
Block a user