Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
This commit is contained in:
@@ -261,7 +261,7 @@ namespace Game
|
||||
GameObject go = GetPlayer().GetGameObjectIfCanInteractWith(packet.Guid);
|
||||
if (go)
|
||||
{
|
||||
if (go.GetAI().GossipHello(GetPlayer()))
|
||||
if (go.GetAI().OnGossipHello(GetPlayer()))
|
||||
return;
|
||||
|
||||
GetPlayer().UpdateCriteria(CriteriaType.UseGameobject, go.GetEntry());
|
||||
|
||||
Reference in New Issue
Block a user