diff --git a/minecraft-protocol-stream.js b/minecraft-protocol-stream.js index bf2fd05..6f92f9a 100644 --- a/minecraft-protocol-stream.js +++ b/minecraft-protocol-stream.js @@ -68,7 +68,7 @@ function createClient(options) { } function onKeepAlive(packet) { - client.write(0x00, { + client.write('keep_alive', { keepAliveId: packet.keepAliveId }); }