Skip to content

Commit

Permalink
Fix some more Bedrock bugs
Browse files Browse the repository at this point in the history
Co-authored-by: Camotoy <[email protected]>
  • Loading branch information
Heath123 and Camotoy committed Dec 24, 2020
1 parent 6e96eed commit fdbf2ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified data/proxypass-pakkit.jar
Binary file not shown.
6 changes: 5 additions & 1 deletion src/proxy/bedrock/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fdbf2ce

Please sign in to comment.