diff --git a/package.json b/package.json index 07cc4a5..c09be9d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/packetTest.js b/test/packetTest.js index 447ba0a..9910059 100644 --- a/test/packetTest.js +++ b/test/packetTest.js @@ -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}}},