mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-21 10:28:12 -05:00
Update compiler-minecraft.js
This commit is contained in:
parent
fc763bb44c
commit
60ba34dded
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ if (n !== 0) {
|
|||
const { value: n, size: nSize } = ${compiler.callType('varint')}
|
||||
if (n === 0) {
|
||||
const base = ${compiler.callType(opts.base.type)}
|
||||
return { value: { ${opts.base.type}: base.value }, size: base.size + nSize }
|
||||
return { value: { ${opts.base.name}: base.value }, size: base.size + nSize }
|
||||
} else {
|
||||
const set = []
|
||||
let accSize = nSize
|
||||
|
|
Loading…
Reference in a new issue