Skip to content

Implement CraftPlayer.sendChunkChange for 1.8 - #200

Open
xii69 wants to merge 1 commit into
Wind-Development:masterfrom
xii69:fix/send-chunk-change
Open

xii69 wants to merge 1 commit into
Wind-Development:masterfrom
xii69:fix/send-chunk-change

Conversation

@xii69

@xii69 xii69 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What was wrong

CraftPlayer.sendChunkChange threw NotImplementedException with a TODO. Any plugin calling the documented API hard-crashed that path.

What this changes

Implements it for 1.8 by parsing the old Packet51-style cuboid buffer and sending per-cell PacketPlayOutBlockChange — same “fake blocks for one player, don’t change the world” idea as sendBlockChange. Height limit updated 128→256.

Why this is needed

Public API that always throws is worse than not having the method. This gives plugins a real 1.8-compatible behavior instead of a landmine.

Testing

Packet51CuboidTest 13/13; server suite green; package OK.

@cursor
cursor Bot force-pushed the fix/send-chunk-change branch from b9576a9 to c570dc1 Compare October 14, 2026 21:36
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.

2 participants