mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Fix unintentional var client declaration
This commit is contained in:
parent
9ec6d876ba
commit
00bf6acea9
@ -26,8 +26,6 @@ function createClientAsync(options, cb) {
|
|||||||
// TODO: refactor with DNS SRV lookup in NMP
|
// TODO: refactor with DNS SRV lookup in NMP
|
||||||
// TODO: detect ping timeout, https://github.com/PrismarineJS/node-minecraft-protocol/issues/329
|
// TODO: detect ping timeout, https://github.com/PrismarineJS/node-minecraft-protocol/issues/329
|
||||||
ping(options, function(err, response) {
|
ping(options, function(err, response) {
|
||||||
var client;
|
|
||||||
|
|
||||||
if (err) return cb(err, null);
|
if (err) return cb(err, null);
|
||||||
debug('ping response',response);
|
debug('ping response',response);
|
||||||
// TODO: could also use ping pre-connect to save description, type, negotiate protocol etc.
|
// TODO: could also use ping pre-connect to save description, type, negotiate protocol etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user