Core/Creatures: Allow overriding non-gossip based trainer ids for creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/689d3a667af8c3e2662b77d14edf201771130bee)
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Game
|
||||
return;
|
||||
}
|
||||
|
||||
uint trainerId = Global.ObjectMgr.GetCreatureDefaultTrainer(npc.GetEntry());
|
||||
uint trainerId = npc.GetTrainerId();
|
||||
if (trainerId != 0)
|
||||
SendTrainerList(npc, trainerId);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user