diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 5ddc2b133..efb0a28e0 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -1485,7 +1485,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap) AllowedLooterSet looters = item->GetAllowedLooters(); Item* _item = player->StoreNewItem(dest, roll->itemid, true, item->randomPropertyId, looters); if (_item) - sScriptMgr->OnPlayerGroupRollRewardItem(player, _item, _item->GetCount(), NEED, roll); + sScriptMgr->OnPlayerGroupRollRewardItem(player, _item, item->count, NEED, roll); player->UpdateLootAchievements(item, roll->getLoot()); } else @@ -1555,7 +1555,7 @@ void Group::CountTheRoll(Rolls::iterator rollI, Map* allowedMap) AllowedLooterSet looters = item->GetAllowedLooters(); Item* _item = player->StoreNewItem(dest, roll->itemid, true, item->randomPropertyId, looters); if (_item) - sScriptMgr->OnPlayerGroupRollRewardItem(player, _item, _item->GetCount(), GREED, roll); + sScriptMgr->OnPlayerGroupRollRewardItem(player, _item, item->count, GREED, roll); player->UpdateLootAchievements(item, roll->getLoot()); } else