mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
feat(Core/Config): Allow disable points of interest for quests (#14501)
This commit is contained in:
@@ -7743,6 +7743,13 @@ void ObjectMgr::LoadPointsOfInterest()
|
||||
|
||||
void ObjectMgr::LoadQuestPOI()
|
||||
{
|
||||
if (!sWorld->getBoolConfig(CONFIG_QUEST_POI_ENABLED))
|
||||
{
|
||||
LOG_INFO("server.loading", ">> Loaded 0 quest POI definitions. Disabled by config.");
|
||||
LOG_INFO("server.loading", " ");
|
||||
return;
|
||||
}
|
||||
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
_questPOIStore.clear(); // need for reload case
|
||||
|
||||
Reference in New Issue
Block a user