FML|HS client sends HandshakeAck COMPLETE in response to server

This commit is contained in:
deathcap 2016-01-23 15:42:03 -08:00
parent e80471753b
commit 30b347cb99

View file

@ -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!');
} }
} }