mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
@@ -336,14 +336,14 @@ public:
|
||||
float x, y, z;
|
||||
uint32 mapId;
|
||||
|
||||
if (QuestPOIVector const* poiData = sObjectMgr->GetQuestPOIVector(questID))
|
||||
if (QuestPOIData const* poiData = sObjectMgr->GetQuestPOIData(questID))
|
||||
{
|
||||
auto data = poiData->front();
|
||||
auto data = poiData->QuestPOIBlobDataStats.front();
|
||||
|
||||
mapId = data.MapID;
|
||||
|
||||
x = data.points.front().X;
|
||||
y = data.points.front().Y;
|
||||
x = data.QuestPOIBlobPointStats.front().X;
|
||||
y = data.QuestPOIBlobPointStats.front().Y;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -456,6 +456,7 @@ public:
|
||||
sObjectMgr->CheckCreatureTemplate(cInfo);
|
||||
}
|
||||
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_CREATURES);
|
||||
handler->SendGlobalGMSysMessage("Creature template reloaded.");
|
||||
return true;
|
||||
}
|
||||
@@ -538,6 +539,7 @@ public:
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest Templates...");
|
||||
sObjectMgr->LoadQuests();
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_QUESTS);
|
||||
handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
||||
|
||||
/// dependent also from `gameobject` but this table not reloaded anyway
|
||||
@@ -721,6 +723,7 @@ public:
|
||||
{
|
||||
TC_LOG_INFO("misc", "Re-Loading Quest POI ..." );
|
||||
sObjectMgr->LoadQuestPOI();
|
||||
sObjectMgr->InitializeQueriesData(QUERY_DATA_POIS);
|
||||
handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user