mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 13:14:41 -04:00
Fixed options.favicon in createServer
This commit is contained in:
parent
8b14f84474
commit
9831bdc4c2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user