Core/Quests: Automatically add quests with AUTO_PUSH flag to player

Port From (https://github.com/TrinityCore/TrinityCore/commit/db6eb694656c58a817a965e2f5c85874e9c92d12)
This commit is contained in:
hondacrx
2021-02-02 10:14:16 -05:00
parent f18a9c1ec9
commit c96fc90f5b
7 changed files with 33 additions and 6 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ namespace Game.Chat
bool found = false;
uint count = 0;
var qTemplates = Global.ObjectMgr.GetQuestStorage();
var qTemplates = Global.ObjectMgr.GetQuestTemplates();
foreach (var qInfo in qTemplates.Values)
{
int localeIndex = handler.GetSessionDbLocaleIndex();