From 40d66ca954115902ac638b6e263c99874ca71d2a Mon Sep 17 00:00:00 2001 From: Limiana <5073202+Limiana@users.noreply.github.com> Date: Mon, 8 Jul 2024 02:55:28 +0300 Subject: [PATCH] add missing args --- ChatTwo/GameFunctions/Chat.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ChatTwo/GameFunctions/Chat.cs b/ChatTwo/GameFunctions/Chat.cs index 2b70937..c6aee34 100755 --- a/ChatTwo/GameFunctions/Chat.cs +++ b/ChatTwo/GameFunctions/Chat.cs @@ -1,4 +1,4 @@ -using System.Numerics; +using System.Numerics; using System.Text; using ChatTwo.Code; using ChatTwo.GameFunctions.Types; @@ -33,7 +33,7 @@ internal sealed unsafe class Chat : IDisposable private readonly delegate* unmanaged GetKeybindNative = null!; [Signature("48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC ?? 48 8D B9 ?? ?? ?? ?? 33 C0")] - private readonly delegate* unmanaged PrintTellNative = null!; + private readonly delegate* unmanaged PrintTellNative = null!; [Signature("E8 ?? ?? ?? ?? 48 8D 4C 24 ?? E8 ?? ?? ?? ?? 48 8D 8C 24 ?? ?? ?? ?? E8 ?? ?? ?? ?? B0 01")] private readonly delegate* unmanaged SendTellNative = null!; @@ -602,7 +602,7 @@ internal sealed unsafe class Chat : IDisposable var ok = SendTellNative(networkModule, contentId, homeWorld, uName, encoded, (ushort) reason, homeWorld); if (ok) - PrintTellNative(logModule, 33, uName, &decodedUtf8String, contentId, homeWorld, 255, 0, 0); + PrintTellNative(logModule, 33, uName, &decodedUtf8String, 0, contentId, homeWorld, 255, 0, 0); else Plugin.ChatGui.PrintError(Language.Chat_SendTell_Error);