mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 13:14:41 -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: detect ping timeout, https://github.com/PrismarineJS/node-minecraft-protocol/issues/329
|
||||
ping(options, function(err, response) {
|
||||
var client;
|
||||
|
||||
if (err) return cb(err, null);
|
||||
debug('ping response',response);
|
||||
// TODO: could also use ping pre-connect to save description, type, negotiate protocol etc.
|
||||
|
Loading…
x
Reference in New Issue
Block a user