fix(Core/QuestTracker): do not store quest if quest_id is null (#4027)
This commit is contained in:
parent
6f81eee02d
commit
8d5347b9ab
3 changed files with 25 additions and 21 deletions
|
|
@ -235,7 +235,7 @@ public:
|
|||
if (sWorld->getBoolConfig(CONFIG_QUEST_ENABLE_QUEST_TRACKER))
|
||||
{
|
||||
// prepare Quest Tracker datas
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_UPD_QUEST_TRACK_GM_COMPLETE);
|
||||
auto stmt = CharacterDatabase.GetPreparedStatement(CHAR_UPD_QUEST_TRACK_GM_COMPLETE);
|
||||
stmt->setUInt32(0, quest->GetQuestId());
|
||||
stmt->setUInt32(1, player->GetGUIDLow());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue