Core/AI: segregate GameObject ReportUse from normal Use (lock open/normal click)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5903a10a834b1198702b024182581799648540ff)
This commit is contained in:
@@ -259,7 +259,7 @@ namespace Game
|
||||
GameObject go = GetPlayer().GetGameObjectIfCanInteractWith(packet.Guid);
|
||||
if (go)
|
||||
{
|
||||
if (go.GetAI().GossipHello(GetPlayer(), true))
|
||||
if (go.GetAI().GossipHello(GetPlayer()))
|
||||
return;
|
||||
|
||||
GetPlayer().UpdateCriteria(CriteriaTypes.UseGameobject, go.GetEntry());
|
||||
|
||||
Reference in New Issue
Block a user