use prismarine-nbt 0.1.0 and fix some npm warnings

This commit is contained in:
Romain Beaumont 2015-11-15 02:33:32 +01:00
parent 3b9d8f3835
commit 30d0939968
2 changed files with 6 additions and 4 deletions

View File

@ -22,7 +22,7 @@
"bot"
],
"author": "Andrew Kelley",
"license": "BSD",
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.8.16"
},
@ -33,6 +33,7 @@
"gulp-babel": "^5.1.0",
"gulp-plumber": "^1.0.1",
"gulp-sourcemaps": "^1.3.0",
"espower-loader":"^1.0.0",
"intelli-espower-loader": "^1.0.0",
"mocha": "~2.3.3",
"power-assert": "^1.0.0",
@ -45,7 +46,7 @@
"lodash.reduce": "^3.1.2",
"minecraft-data": "^0.13.0",
"node-uuid": "~1.4.1",
"prismarine-nbt": "0.0.1",
"prismarine-nbt": "0.1.0",
"protodef": "0.2.0",
"readable-stream": "^1.1.0",
"superagent": "~0.10.0",

View File

@ -56,10 +56,11 @@ var values = {
itemCount: 56,
itemDamage: 2,
nbtData: {
root: "test", value: {
type:"compound",
name: "test", value: {
test1: {type: "int", value: 4},
test2: {type: "long", value: [12, 42]},
test3: {type: "byteArray", value: new Buffer(32)},
test3: {type: "byteArray", value: [32]},
test4: {type: "string", value: "ohi"},
test5: {type: "list", value: {type: "int", value: [4]}},
test6: {type: "compound", value: {test: {type: "int", value: 4}}},