From 883700d7dd0f6160a0ffc9d66aeaa3b88e72e3fe Mon Sep 17 00:00:00 2001 From: Michael Morrison Date: Fri, 12 Feb 2021 11:15:13 -0600 Subject: [PATCH] Remove redundant guid field from minecraftbedrock --- protocols/minecraftbedrock.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/minecraftbedrock.js b/protocols/minecraftbedrock.js index 0b762c5..c1d2ba8 100644 --- a/protocols/minecraftbedrock.js +++ b/protocols/minecraftbedrock.js @@ -25,7 +25,8 @@ class MinecraftBedrock extends Core { const nonce = reader.part(8).toString('hex'); // should match the nonce we sent this.logger.debug('Nonce: ' + nonce); - state.raw.guid = reader.part(8).toString('hex'); + // These 8 bytes are identical to the serverId string we receive in decimal below + reader.skip(8); const magic = reader.part(16).toString('hex'); this.logger.debug('Magic value: ' + magic);