mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 14:13:45 -04:00
remove unused variable
This commit is contained in:
parent
cc3480ee91
commit
f70110a646
6
index.js
6
index.js
@ -23,12 +23,6 @@ function createClient(options) {
|
||||
assert.ok(options.username, "username is required");
|
||||
var haveCredentials = options.email && options.password;
|
||||
|
||||
var packetHandlers = {
|
||||
0x00: onKeepAlive,
|
||||
0xFC: onEncryptionKeyResponse,
|
||||
0xFD: onEncryptionKeyRequest,
|
||||
};
|
||||
|
||||
var client = new Client();
|
||||
client.username = options.username;
|
||||
client.on('connect', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user