fix slot value in packet tests and update some deps

This commit is contained in:
Romain Beaumont 2018-10-16 22:23:16 +02:00
parent 97edd67b07
commit 822d9e12dd
No known key found for this signature in database
GPG key ID: DB60E388B3BCF286
2 changed files with 5 additions and 4 deletions

View file

@ -31,10 +31,10 @@
}, },
"browser": "src/browser.js", "browser": "src/browser.js",
"devDependencies": { "devDependencies": {
"@types/node": "^10.5.8", "@types/node": "^10.12.0",
"espower-loader": "^1.0.0", "espower-loader": "^1.0.0",
"intelli-espower-loader": "^1.0.0", "intelli-espower-loader": "^1.0.0",
"minecraft-wrap": "^1.2.0", "minecraft-wrap": "^1.2.3",
"mocha": "^5.0.5", "mocha": "^5.0.5",
"power-assert": "^1.0.0", "power-assert": "^1.0.0",
"require-self": "^0.2.1", "require-self": "^0.2.1",
@ -42,7 +42,7 @@
}, },
"dependencies": { "dependencies": {
"buffer-equal": "^1.0.0", "buffer-equal": "^1.0.0",
"debug": "^4.0.0", "debug": "^4.1.0",
"endian-toggle": "^0.0.0", "endian-toggle": "^0.0.0",
"lodash.get": "^4.1.2", "lodash.get": "^4.1.2",
"lodash.merge": "^4.3.0", "lodash.merge": "^4.3.0",
@ -50,7 +50,7 @@
"node-rsa": "^0.4.2", "node-rsa": "^0.4.2",
"prismarine-nbt": "^1.2.0", "prismarine-nbt": "^1.2.0",
"protodef": "^1.6.7", "protodef": "^1.6.7",
"readable-stream": "^3.0.0", "readable-stream": "^3.0.6",
"uuid-1345": "^0.99.6", "uuid-1345": "^0.99.6",
"yggdrasil": "^1.1.1" "yggdrasil": "^1.1.1"
} }

View file

@ -14,6 +14,7 @@ function evalCount (count, fields) {
} }
const slotValue = { const slotValue = {
present: true,
blockId: 5, blockId: 5,
itemCount: 56, itemCount: 56,
itemDamage: 2, itemDamage: 2,