Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.

Port From (https://github.com/TrinityCore/TrinityCore/commit/ecce30a8072fd9352edae378a182f6bf6619d412)
This commit is contained in:
hondacrx
2021-12-26 19:32:56 -05:00
parent 5ba1f34108
commit ce3b99471d
2 changed files with 12 additions and 13 deletions
@@ -574,10 +574,6 @@ namespace Game.Entities
public bool CanRewardQuest(Quest quest, LootItemType rewardType, uint rewardId, bool msg)
{
// prevent receive reward with quest items in bank or for not completed quest
if (!CanRewardQuest(quest, msg))
return false;
List<ItemPosCount> dest = new();
if (quest.GetRewChoiceItemsCount() > 0)
{