From 400af0810f90abd3ad917914f5e247932421a9e3 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 15 Jan 2021 20:30:08 -0500 Subject: [PATCH] fix: remove debug code --- BetterPartyFinder/GameFunctions.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/BetterPartyFinder/GameFunctions.cs b/BetterPartyFinder/GameFunctions.cs index 50d0d49..ac9f430 100755 --- a/BetterPartyFinder/GameFunctions.cs +++ b/BetterPartyFinder/GameFunctions.cs @@ -48,13 +48,6 @@ namespace BetterPartyFinder { var needToRewrite = false; - var raw = Marshal.AllocHGlobal(PacketInfo.PacketSize); - Marshal.StructureToPtr(packet, raw, false); - var bytes = new byte[PacketInfo.PacketSize]; - Marshal.Copy(raw, bytes, 0, PacketInfo.PacketSize); - PluginLog.Log(string.Join("", bytes.Select(b => b.ToString("x2")))); - Marshal.FreeHGlobal(raw); - for (var i = 0; i < packet.listings.Length; i++) { if (packet.listings[i].IsNull()) { continue;