Add "On" to some gossip methods in AI

Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
This commit is contained in:
hondacrx
2022-05-04 09:26:05 -04:00
parent db947e947c
commit 52ce6b2700
10 changed files with 73 additions and 73 deletions
+1 -1
View File
@@ -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());