Skip to content

Commit

Permalink
Fix compressedPacket
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Jan 5, 2024
1 parent 5823ea9 commit 211690d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Shared/Network/Packets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public CompressedPacket(Packet packet) : base(0x01, 0)
var bytes = packet.Compile(out var length);
zLibStream.Write(bytes);
zLibStream.Flush();
zLibStream.Close();
Writer.Write((uint)packet.Stream.Length);
Writer.Write(compressedData.GetBuffer());
}
Expand Down

0 comments on commit 211690d

Please sign in to comment.