Skip to content

Commit

Permalink
Update serializer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored Dec 11, 2024
1 parent 6917c15 commit 0b94d5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/transforms/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 0b94d5e

Please sign in to comment.