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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user