From 9831bdc4c203aeed751ded5ea03551a90bb5ae41 Mon Sep 17 00:00:00 2001 From: Thomas Alrek Date: Mon, 4 Apr 2016 21:37:08 +0200 Subject: [PATCH] Fixed options.favicon in createServer --- src/createServer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/createServer.js b/src/createServer.js index fe25f60..7ce430b 100644 --- a/src/createServer.js +++ b/src/createServer.js @@ -37,6 +37,7 @@ function createServer(options) { server.maxPlayers = options['max-players'] || 20; server.playerCount = 0; server.onlineModeExceptions = {}; + server.favicon = options.favicon || 0; server.on("connection", function(client) { client.once('set_protocol', onHandshake); client.once('login_start', onLogin);