fix: remove debug code

This commit is contained in:
Anna 2021-01-15 20:30:08 -05:00
parent 7e7b5d01b3
commit 400af0810f
1 changed files with 0 additions and 7 deletions

View File

@ -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;