mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
refactor(Core/Creature): port TC handling of Trainers (#23040)
Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Ghaster <defscam@gmail.com>
This commit is contained in:
@@ -766,6 +766,12 @@ void World::SetInitialWorldSettings()
|
||||
LOG_INFO("server.loading", "Loading GameTeleports...");
|
||||
sObjectMgr->LoadGameTele();
|
||||
|
||||
LOG_INFO("server.loading", "Loading Trainers..."); // must be after LoadCreatureTemplates
|
||||
sObjectMgr->LoadTrainers();
|
||||
|
||||
LOG_INFO("server.loading", "Loading Creature default trainers...");
|
||||
sObjectMgr->LoadCreatureDefaultTrainers();
|
||||
|
||||
LOG_INFO("server.loading", "Loading Gossip Menu...");
|
||||
sObjectMgr->LoadGossipMenu();
|
||||
|
||||
@@ -775,9 +781,6 @@ void World::SetInitialWorldSettings()
|
||||
LOG_INFO("server.loading", "Loading Vendors...");
|
||||
sObjectMgr->LoadVendors(); // must be after load CreatureTemplate and ItemTemplate
|
||||
|
||||
LOG_INFO("server.loading", "Loading Trainers...");
|
||||
sObjectMgr->LoadTrainerSpell(); // must be after load CreatureTemplate
|
||||
|
||||
LOG_INFO("server.loading", "Loading Waypoints...");
|
||||
sWaypointMgr->Load();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user