mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -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");
|
assert.ok(options.username, "username is required");
|
||||||
var haveCredentials = options.email && options.password;
|
var haveCredentials = options.email && options.password;
|
||||||
|
|
||||||
var packetHandlers = {
|
|
||||||
0x00: onKeepAlive,
|
|
||||||
0xFC: onEncryptionKeyResponse,
|
|
||||||
0xFD: onEncryptionKeyRequest,
|
|
||||||
};
|
|
||||||
|
|
||||||
var client = new Client();
|
var client = new Client();
|
||||||
client.username = options.username;
|
client.username = options.username;
|
||||||
client.on('connect', function() {
|
client.on('connect', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user