mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-04 13:01:14 -05:00
Fix sending Handshake|Ack phase
This commit is contained in:
parent
c680c0d12a
commit
46a134c5e9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue