Bring ZLib in locally. (#132)

This commit is contained in:
Kamron Batman 2020-05-06 20:07:28 -07:00 • committed by GitHub
parent 477c79bb4d
commit 2347533b9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 331 additions and 260 deletions

View file

@ -22,7 +22,7 @@ using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using Server.Network;
using Server.Compression;
namespace Server
{
@ -174,7 +174,7 @@ namespace Server
if (compressionMethod == 1)
{
data = new byte[decompressedSize];
NetworkCompression.Unpack(data, ref decompressedSize, sourceData, compressedSize);
ZLib.Unpack(data, ref decompressedSize, sourceData, compressedSize);
}
else
{