Improved the way loot is given to players.