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:
Kitzunu 2021-10-09 10:20:07 +02:00 committed by GitHub
parent 8ef6355aad
commit 4e590ed20c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}
}