Merge pull request #557 from pokecosimo/master
* Added support for the new version of prismarine-nbt * Update serializer.js --------- Co-authored-by: extremeheat <extreme@protonmail.ch>
This commit is contained in:
commit
f77c56b7f8
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue