mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-27 09:45:44 -05:00
Compare commits
3 commits
87fcbc7a51
...
3ad4a1f0b7
Author | SHA1 | Date | |
---|---|---|---|
|
3ad4a1f0b7 | ||
|
60ba34dded | ||
|
590dc33fed |
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
},
|
||||
"browser": "src/browser.js",
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.2.1",
|
||||
"@types/node": "^22.7.9",
|
||||
"espower-loader": "^1.0.0",
|
||||
"intelli-espower-loader": "^1.0.0",
|
||||
"minecraft-packets": "^1.1.5",
|
||||
|
|
|
@ -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