Merge pull request #244 from rom1504/patch-1

Print some more info in order to fix https://github.com/PrismarineJS/node-minecraft-protocol/issues/194
This commit is contained in:
Robin Lambertz 2015-09-20 01:05:53 +02:00
commit 2c93a4e796
2 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"power-assert": "^1.0.0",
"source-map-support": "^0.3.2",
"zfill": "0.0.1",
"minecraft-wrap": "0.5.3"
"minecraft-wrap": "~0.5.4"
},
"dependencies": {
"babel-runtime": "^5.4.4",

View File

@ -216,6 +216,9 @@ describe("client", function() {
});
});
it("pings the server", function(done) {
wrap.on('line',function(line){
console.log(line);
});
wrap.startServer({
motd: 'test1234',
'max-players': 120,