mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-12-12 08:51:06 -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) {
|
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',
|
||||||
|
|
Loading…
Reference in a new issue