Skip to content

v1.0.6 — UNLOAD_CHUNK compatibility fix

Latest

Choose a tag to compare

@Namnarak Namnarak released this 07 Oct 09:15
· 8 commits to main since this release

ProtocolLib2PacketEvents v1.0.6

Compatibility release for plugins that use ProtocolLib field accessors through P2P.

Fixed

  • PLAY.SERVER.UNLOAD_CHUNK: PacketContainer#getLongs().read(0) now returns the packed chunk key, and writes update the live PacketEvents chunk X/Z coordinates.
  • getChunkCoordIntPairs() now reads and writes the same live unload-chunk coordinates.
  • Supported derived modifiers, selectors, and target changes preserve write-through behavior for the projected fields.
  • LOGIN.CLIENT.LOGIN_START#getGameProfiles() writes username and UUID changes through to the PacketEvents wrapper.
  • CHUNK_DATA#getIntegers() coordinate writes now update the nested PacketEvents Column.

Validation

  • GitHub Actions Java 17 build and test passed.
  • Local Maven clean package passed: 19 tests, 0 failures, 0 errors, 1 skipped (PacketEvents server-runtime assumption).
  • SHA-256: f72586e4c495bf7c8ef3738a24dcc70226912e10376c186d8f7825ae2a55166e
  • No live Minecraft server test was included.

Upgrade

Replace ProtocolLib2PacketEvents-1.0.5.jar with ProtocolLib2PacketEvents-1.0.6.jar and fully restart the server. PacketEvents remains a required separate plugin.