Fix sending Handshake|Ack phase

This commit is contained in:
deathcap 2016-01-23 17:44:20 -08:00
parent c680c0d12a
commit 46a134c5e9

View file

@ -184,7 +184,7 @@ proto.addType('FML|HS',
function writeAck(client, phase) { function writeAck(client, phase) {
var ackData = proto.createPacketBuffer('FML|HS', { var ackData = proto.createPacketBuffer('FML|HS', {
discriminator: 'HandshakeAck', // HandshakeAck, discriminator: 'HandshakeAck', // HandshakeAck,
phase: 2 // WAITINGSERVERDATA phase: phase
}); });
client.write('custom_payload', { client.write('custom_payload', {
channel: 'FML|HS', channel: 'FML|HS',