From ac1505fa0db55e97c4295ac10b5a34d511745883 Mon Sep 17 00:00:00 2001 From: Lucas Dower Date: Sat, 4 Nov 2023 19:27:19 +0000 Subject: [PATCH] Fixed incorrect pako compression function --- Core/src/util/nbt_util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/util/nbt_util.ts b/Core/src/util/nbt_util.ts index 6655150..88741e3 100644 --- a/Core/src/util/nbt_util.ts +++ b/Core/src/util/nbt_util.ts @@ -3,5 +3,5 @@ import pako from 'pako'; export function saveNBT(nbt: NBT) { const uncompressedBuffer = writeUncompressed(nbt, 'big'); - return pako.deflate(uncompressedBuffer); -} + return pako.gzip(uncompressedBuffer); +} \ No newline at end of file