From 3920238949ac11d9268457972def74fe17a9ee16 Mon Sep 17 00:00:00 2001 From: PiSaucer <33438654+PiSaucer@users.noreply.github.com> Date: Fri, 4 Feb 2022 09:43:56 -0600 Subject: [PATCH] Update MetadataConverter.mjs --- src/converter/MetadataConverter.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converter/MetadataConverter.mjs b/src/converter/MetadataConverter.mjs index b58917c..89258fd 100755 --- a/src/converter/MetadataConverter.mjs +++ b/src/converter/MetadataConverter.mjs @@ -40,7 +40,7 @@ class MetadataConverter extends AbstractConverter { MetadataConverter.mcmeta = JSON.parse((await this.output.read(from)).toString("utf8").trim()); // trim it to supports UF8 files with 'BOOM' at the beginning - if (MetadataConverter.mcmeta.pack.pack_format !== 4 && MetadataConverter.mcmeta.pack.pack_format !== 5 && MetadataConverter.mcmeta.pack.pack_format !== 6) { + if (MetadataConverter.mcmeta.pack.pack_format !== 4 && MetadataConverter.mcmeta.pack.pack_format !== 5 && MetadataConverter.mcmeta.pack.pack_format !== 6 && MetadataConverter.mcmeta.pack.pack_format !== 8) { throw new Error("Only supports pack_format 4 (v1.13 or v1.14) or 5 (v1.15 or v1.16) or 6 (>= v1.16.2)!"); }