From 2673fe277e2b222c55b98228088e931232f8afc5 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 6 Sep 2017 18:47:35 -0400 Subject: [PATCH] Fixed CMSG_CLOSE_INTERACTION --- Game/Handlers/MiscHandler.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Game/Handlers/MiscHandler.cs b/Game/Handlers/MiscHandler.cs index 31e7f07e9..b30177df0 100644 --- a/Game/Handlers/MiscHandler.cs +++ b/Game/Handlers/MiscHandler.cs @@ -432,10 +432,11 @@ namespace Game _player.Prestige(); } - [WorldPacketHandler(ClientOpcodes.CloseInteraction, Processing = PacketProcessing.ThreadSafe)] - void HandleCloseInteraction(CloseInteraction packet) + [WorldPacketHandler(ClientOpcodes.CloseInteraction)] + void HandleCloseInteraction(CloseInteraction closeInteraction) { - _player.PlayerTalkClass.GetInteractionData().Reset(); + if (_player.PlayerTalkClass.GetInteractionData().SourceGuid == closeInteraction.SourceGuid) + _player.PlayerTalkClass.GetInteractionData().Reset(); } [WorldPacketHandler(ClientOpcodes.ChatUnregisterAllAddonPrefixes)]