mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-10-04 00:21:12 -04:00
removes some console.log
This commit is contained in:
parent
dfb7aacb5a
commit
73ed7e2cdd
@ -249,9 +249,7 @@ describe("client", function() {
|
|||||||
});
|
});
|
||||||
batch.end(function(err) {
|
batch.end(function(err) {
|
||||||
if (err) return done(err);
|
if (err) return done(err);
|
||||||
//console.log(MC_SERVER_JAR);
|
|
||||||
if (!fs.existsSync(MC_SERVER_JAR)) {
|
if (!fs.existsSync(MC_SERVER_JAR)) {
|
||||||
console.log("The file "+MC_SERVER_JAR+" doesn't exist.");
|
|
||||||
return done(new Error("The file "+MC_SERVER_JAR+" doesn't exist."));
|
return done(new Error("The file "+MC_SERVER_JAR+" doesn't exist."));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -266,7 +264,6 @@ describe("client", function() {
|
|||||||
mcServer.stdout.on('data', onData);
|
mcServer.stdout.on('data', onData);
|
||||||
mcServer.stderr.on('data', onData);
|
mcServer.stderr.on('data', onData);
|
||||||
function onData(data) {
|
function onData(data) {
|
||||||
console.log(data);
|
|
||||||
buffer += data;
|
buffer += data;
|
||||||
var lines = buffer.split("\n");
|
var lines = buffer.split("\n");
|
||||||
var len = lines.length - 1;
|
var len = lines.length - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user