mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 21:52:17 -04:00
Fix sending Handshake|Ack phase
This commit is contained in:
parent
c680c0d12a
commit
46a134c5e9
@ -184,7 +184,7 @@ proto.addType('FML|HS',
|
||||
function writeAck(client, phase) {
|
||||
var ackData = proto.createPacketBuffer('FML|HS', {
|
||||
discriminator: 'HandshakeAck', // HandshakeAck,
|
||||
phase: 2 // WAITINGSERVERDATA
|
||||
phase: phase
|
||||
});
|
||||
client.write('custom_payload', {
|
||||
channel: 'FML|HS',
|
||||
|
Loading…
x
Reference in New Issue
Block a user