Skip to content

Commit f77c56b

Browse files
authored
Merge pull request #557 from pokecosimo/master
* Added support for the new version of prismarine-nbt * Update serializer.js --------- Co-authored-by: extremeheat <[email protected]>
2 parents aa3dafa + 0b94d5e commit f77c56b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/transforms/serializer.js

-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ function createProtocol (version) {
3737
const compiler = new ProtoDefCompiler()
3838
compiler.addTypesToCompile(protocol.types)
3939
compiler.addTypes(require('../datatypes/compiler-minecraft'))
40-
compiler.addTypes(require('prismarine-nbt/zigzag').compiler)
4140

4241
const compiledProto = compiler.compileProtoDefSync()
4342
return compiledProto
@@ -47,7 +46,6 @@ function createProtocol (version) {
4746
function getProtocol (version) {
4847
const compiler = new ProtoDefCompiler()
4948
compiler.addTypes(require(join(__dirname, '../datatypes/compiler-minecraft')))
50-
compiler.addTypes(require('prismarine-nbt/zigzag').compiler)
5149

5250
global.PartialReadError = require('protodef/src/utils').PartialReadError
5351
const compile = (compiler, file) => require(file)(compiler.native)

0 commit comments

Comments
 (0)