From 5ef99978c03eb5cc7d40c1f1a1cc4e5c78f8ea27 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 29 Sep 2025 22:01:40 +0200 Subject: Core/Misc: Reduce differences between branches --- src/server/game/Handlers/LootHandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/server/game/Handlers/LootHandler.cpp') diff --git a/src/server/game/Handlers/LootHandler.cpp b/src/server/game/Handlers/LootHandler.cpp index c3f12dce104..73ae6746f4d 100644 --- a/src/server/game/Handlers/LootHandler.cpp +++ b/src/server/game/Handlers/LootHandler.cpp @@ -468,11 +468,8 @@ void WorldSession::HandleLootMasterGiveOpcode(WorldPacket& recvData) return; } - // list of players allowed to receive this item in trade - GuidSet looters = item.GetAllowedLooters(); - // now move item from loot to target inventory - Item* newitem = target->StoreNewItem(dest, item.itemid, true, item.randomPropertyId, looters); + Item* newitem = target->StoreNewItem(dest, item.itemid, true, item.randomPropertyId, item.GetAllowedLooters()); target->SendNewItem(newitem, uint32(item.count), false, false, true); target->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM, item.itemid, item.count); target->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE, loot->loot_type, item.count); -- cgit v1.2.3