fix the test

This commit is contained in:
Romain Beaumont 2016-04-10 22:23:25 +02:00
parent 12d17e2eaf
commit d56b0776c4
No known key found for this signature in database
GPG Key ID: DB60E388B3BCF286

View File

@ -37,7 +37,7 @@ function createServer(options) {
server.maxPlayers = options['max-players'] || 20;
server.playerCount = 0;
server.onlineModeExceptions = {};
server.favicon = options.favicon || 0;
server.favicon = options.favicon || undefined;
server.on("connection", function(client) {
client.once('set_protocol', onHandshake);
client.once('login_start', onLogin);