mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Quest): Update all quests when item is optained/removed (#7862)
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com> Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
This commit is contained in:
@@ -1805,7 +1805,6 @@ void Player::ItemAddedQuestCheck(uint32 entry, uint32 count)
|
||||
CompleteQuest(questid);
|
||||
else
|
||||
AdditionalSavingAddMask(ADDITIONAL_SAVING_INVENTORY_AND_GOLD | ADDITIONAL_SAVING_QUEST_STATUS);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1847,7 +1846,6 @@ void Player::ItemRemovedQuestCheck(uint32 entry, uint32 count)
|
||||
m_QuestStatusSave[questid] = true;
|
||||
IncompleteQuest(questid);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user