Skip to content

Custom payload fixes#687

Merged
florianreuth merged 3 commits into
ViaVersion:masterfrom
Beaness:custompayloadfixes
Jun 19, 2026
Merged

Custom payload fixes#687
florianreuth merged 3 commits into
ViaVersion:masterfrom
Beaness:custompayloadfixes

Conversation

@Beaness

@Beaness Beaness commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Fixes two issues:

  • Several custom payload packets on 1.7.10 were sending extra, useless bytes because bytebuf.array() was used inside the custom payload constructor. This is now fixed by discarding those bytes and no longer sending them to 1.8 servers.
  • Book rewriting was not entirely 1:1 byte-accurate with 1.8. The additional changes now make them entirely identical, tested by comparing a 1.8 book packet payload against a 1.7 book packet payload with ViaRewind.

Fixes #402 (tested before and after; the kick no longer occurs)

@florianreuth florianreuth merged commit f9b0fd5 into ViaVersion:master Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remaining data when signing book with 1.7.10 client

2 participants