Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to
Port From (https://github.com/TrinityCore/TrinityCore/commit/1340f2cdb33a4feac01e68d2f65ae1ae486e135f)
This commit is contained in:
@@ -749,14 +749,14 @@ namespace Game
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Trainers...");
|
||||
Global.ObjectMgr.LoadTrainers(); // must be after load CreatureTemplate
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Creature default trainers...");
|
||||
Global.ObjectMgr.LoadCreatureDefaultTrainers();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Gossip menu...");
|
||||
Global.ObjectMgr.LoadGossipMenu();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Gossip menu options...");
|
||||
Global.ObjectMgr.LoadGossipMenuItems(); // must be after LoadTrainers
|
||||
Global.ObjectMgr.LoadGossipMenuItems();
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Creature trainers...");
|
||||
Global.ObjectMgr.LoadCreatureTrainers(); // must be after LoadGossipMenuItems
|
||||
|
||||
Log.outInfo(LogFilter.ServerLoading, "Loading Vendors...");
|
||||
Global.ObjectMgr.LoadVendors(); // must be after load CreatureTemplate and ItemTemplate
|
||||
|
||||
Reference in New Issue
Block a user