mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 13:01:14 -05:00
FML|HS client sends HandshakeAck COMPLETE in response to server
This commit is contained in:
parent
e80471753b
commit
30b347cb99
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ client.on('custom_payload', function(packet) {
|
||||||
if (parsed.data.phase === 2) { // WAITINGCACK
|
if (parsed.data.phase === 2) { // WAITINGCACK
|
||||||
writeAck(client, 4); // PENDINGCOMPLETE
|
writeAck(client, 4); // PENDINGCOMPLETE
|
||||||
} else if (parsed.data.phase === 3) { // COMPLETE
|
} else if (parsed.data.phase === 3) { // COMPLETE
|
||||||
|
writeAck(client, 5); // COMPLETE
|
||||||
console.log('HandshakeAck Complete!');
|
console.log('HandshakeAck Complete!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue