mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
Fix crash when performing RetroActive appearance check with invalid quest IDs
This commit is contained in:
@@ -609,7 +609,7 @@ public:
|
||||
|
||||
void OnPlayerCompleteQuest(Player* player, Quest const* quest) override
|
||||
{
|
||||
if (!sT->GetUseCollectionSystem())
|
||||
if (!sT->GetUseCollectionSystem() || !quest)
|
||||
return;
|
||||
for (uint8 i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user