mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-10-03 07:59:50 -04:00
Merge pull request #31 from roblabla/patch-1
Change encryption-enabled option to encryption.
This commit is contained in:
commit
9c12b6d3d3
2
index.js
2
index.js
@ -31,7 +31,7 @@ function createServer(options) {
|
||||
var checkTimeoutInterval = options.checkTimeoutInterval || 4 * 1000;
|
||||
var motd = options.motd || "A Minecraft server";
|
||||
var onlineMode = options['online-mode'] == null ? true : options['online-mode'];
|
||||
var encryptionEnabled = options['enable-encryption'] == null ? true : options['enable-encryption'];
|
||||
var encryptionEnabled = options['encryption'] == null ? true : options['encryption'];
|
||||
|
||||
var serverKey = ursa.generatePrivateKey(1024);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user