From 726bb45a00402b6b39f68f307ebf7e2131eaa535 Mon Sep 17 00:00:00 2001 From: Sanae Date: Tue, 26 Apr 2022 23:45:47 -0600 Subject: [PATCH] What --- Shared/Packet/PacketHeader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Packet/PacketHeader.cs b/Shared/Packet/PacketHeader.cs index a1f12c1..ea28383 100644 --- a/Shared/Packet/PacketHeader.cs +++ b/Shared/Packet/PacketHeader.cs @@ -21,6 +21,6 @@ public struct PacketHeader : IPacket { public void Deserialize(ReadOnlySpan data) { Id = MemoryMarshal.Read(data); Type = MemoryMarshal.Read(data[16..]); - PacketSize = MemoryMarshal.Read(data[16..]); + PacketSize = MemoryMarshal.Read(data[18..]); } } \ No newline at end of file