MCPcopy Create free account
hub / github.com/PrismarineJS/node-minecraft-protocol / onJoinServerResponse

Function onJoinServerResponse

src/client/encrypt.js:31–38  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

29 }
30
31 function onJoinServerResponse (err) {
32 if (err) {
33 client.emit('error', err)
34 client.end('encryptionLoginError')
35 } else {
36 sendEncryptionKeyResponse()
37 }
38 }
39
40 function joinServerRequest (cb) {
41 yggdrasilServer.join(options.accessToken, client.session.selectedProfile.id,

Callers

nothing calls this directly

Calls 2

endMethod · 0.80

Tested by

no test coverage detected