Currently, there is a bug that if a player eliminates many npc that have an item that starts a quest, or have an item that is unique, the same item is obtained the first time, and then the rest of the items are sent by mail.
Expected Behaviour
We should check that if the player has already obtained that item, the rest of the items are not added or sent by mail.
Steps to reproduce the problem
Doing quests, where the npc, can give an item that starts a quest or a unique item, you found that the first one is added to the backpack, and the rest are sent by mail. If it's not unique, you won't notice the difference.
Current Behaviour
Currently, there is a bug that if a player eliminates many npc that have an item that starts a quest, or have an item that is unique, the same item is obtained the first time, and then the rest of the items are sent by mail.
Expected Behaviour
We should check that if the player has already obtained that item, the rest of the items are not added or sent by mail.
Steps to reproduce the problem
Extra Notes
None
AC rev. hash/commit
https://github.com/azerothcore/azerothcore-wotlk/commit/a3193a03d716460a1590cb48fc234f3ace6b1df0
Operating system
Debian 11, Windows 10
Custom changes or Modules
None