From 48c0d64cdbcbf992c2797b5965abda5e1f2f8d0d Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 28 Jun 2023 00:01:47 -0600 Subject: [PATCH] misc.mcserver: fixes try 2 --- src/modules/misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/misc.js b/src/modules/misc.js index 146c854..8911337 100644 --- a/src/modules/misc.js +++ b/src/modules/misc.js @@ -721,7 +721,7 @@ const handshakeWithLength = Buffer.concat([ const status = Buffer.concat([writeVarInt(1), writeVarInt(0x0)]); -const HANDSHAKE_PACKET = Buffer.concat(handshakeWithLength, status); +const HANDSHAKE_PACKET = Buffer.concat([handshakeWithLength, status]); const formattingToAnsi = { r: "0",