Fix packages, add catch to commands

This commit is contained in:
DemiPixel 2015-11-23 13:54:23 -08:00
parent a68b10bfa0
commit 565309846b
2 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,7 @@
},
"dependencies": {
"babel-runtime": "^5.4.4",
"emit-then": "^1.0.2",
"minecraft-data": "0.7.0",
"minecraft-protocol": "0.16.2",
"mkdirp": "0.5.1",
@ -32,10 +33,10 @@
"prismarine-block": "0.1.0",
"prismarine-chunk": "0.2.1",
"prismarine-entity": "0.1.0",
"prismarine-world": "0.3.3",
"prismarine-world-sync": "0.1.0",
"prismarine-item": "0.0.0",
"prismarine-windows": "0.0.0",
"prismarine-world": "0.3.3",
"prismarine-world-sync": "0.1.0",
"random-seed": "^0.2.0",
"request-promise": "^0.4.3",
"requireindex": "~1.0.0",

View file

@ -75,6 +75,6 @@ module.exports.player=function(player) {
player.handleCommand = (str) => {
player.commands.use(str);
player.commands.use(str).catch((err)=> setTimeout(() => {throw err;},0));
};
};