Fixed CMSG_CLOSE_INTERACTION

This commit is contained in:
hondacrx
2017-09-06 18:47:35 -04:00
parent adbde2e6c2
commit 2673fe277e
+4 -3
View File
@@ -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)]