From dfcf5b2f1b6b0922973824ab620eec17855dfc0f Mon Sep 17 00:00:00 2001 From: poekcosimo <96430819+pokecosimo@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:56:20 +0100 Subject: [PATCH] Fix missing type serialization error (#557) --- src/transforms/serializer.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/transforms/serializer.js b/src/transforms/serializer.js index 91d4c972..8fffc426 100644 --- a/src/transforms/serializer.js +++ b/src/transforms/serializer.js @@ -37,7 +37,6 @@ function createProtocol (version) { const compiler = new ProtoDefCompiler() compiler.addTypesToCompile(protocol.types) compiler.addTypes(require('../datatypes/compiler-minecraft')) - compiler.addTypes(require('prismarine-nbt/zigzag').compiler) const compiledProto = compiler.compileProtoDefSync() return compiledProto @@ -47,7 +46,6 @@ function createProtocol (version) { function getProtocol (version) { const compiler = new ProtoDefCompiler() compiler.addTypes(require(join(__dirname, '../datatypes/compiler-minecraft'))) - compiler.addTypes(require('prismarine-nbt/zigzag').compiler) global.PartialReadError = require('protodef/src/utils').PartialReadError const compile = (compiler, file) => require(file)(compiler.native)