fix: remove debug code
This commit is contained in:
parent
7e7b5d01b3
commit
400af0810f
|
@ -48,13 +48,6 @@ namespace BetterPartyFinder {
|
||||||
|
|
||||||
var needToRewrite = false;
|
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++) {
|
for (var i = 0; i < packet.listings.Length; i++) {
|
||||||
if (packet.listings[i].IsNull()) {
|
if (packet.listings[i].IsNull()) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue