diff --git a/data/proxypass-pakkit.jar b/data/proxypass-pakkit.jar index 22f6f73..561da26 100644 Binary files a/data/proxypass-pakkit.jar and b/data/proxypass-pakkit.jar differ diff --git a/src/proxy/bedrock/proxy.js b/src/proxy/bedrock/proxy.js index 93941ab..3a27356 100644 --- a/src/proxy/bedrock/proxy.js +++ b/src/proxy/bedrock/proxy.js @@ -61,7 +61,11 @@ exports.startProxy = function (host, port, listenPort, version, authConsent, cal delete data.clientId delete data.senderId - storedCallback(item.direction, { name: name, className: item.className }, data, hexIdString, Object.values(item.bytes)) + const raw = Object.values(item.bytes) + // Prepend packet ID for consistency with Java Edition + raw.unshift(item.packetId) + + storedCallback(item.direction, { name: name, className: item.className }, data, hexIdString, raw) } proxyPass.packetQueue.clearSync()