Repository navigation
v1.0.5 — CHUNK_DATA compatibility fix
ProtocolLib2PacketEvents v1.0.5
Compatibility hotfix for ProtocolLib consumers that inspect outgoing Minecraft chunk packets through P2P.
Fixed
- QuickShop-Hikari CHUNK_DATA / MAP_CHUNK compatibility:
PacketContainer#getIntegers()now exposes chunk X and Z at indices0and1, matching the ProtocolLib field layout expected by QuickShop-Hikari. - Fixes:
IndexOutOfBoundsException: No field of type int at index 0 (found 0 matching field(s) on WrapperPlayServerChunkData) - PacketEvents keeps chunk coordinates inside
WrapperPlayServerChunkData#getColumn(); P2P now provides the appropriate ProtocolLib-compatible view for intercepted chunk packets. - Added a regression test covering both chunk coordinate indices.
Validation
Built and tested through GitHub Actions with Java 17:
- Maven package: passed
- Tests: passed
- Release JAR generated by the successful CI run
Upgrade
Replace ProtocolLib2PacketEvents-1.0.4.jar with ProtocolLib2PacketEvents-1.0.5.jar and perform a full server restart.
SHA-256:
2d0b7e4f2aa19030e49a4528bb656e48216bae12a15f2509258c5bbf64d646bb