mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -04:00
FML|HS client sends HandshakeAck COMPLETE in response to server
This commit is contained in:
parent
e80471753b
commit
30b347cb99
@ -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…
x
Reference in New Issue
Block a user