MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.59k stars 69 forks source link

Implement CSetSlot, respond to CreativeInventoryAction #44

Closed mortie closed 2 years ago

mortie commented 3 years ago

The client sometimes doesn't update its inventory unless the server says it should. When the client sends a flood of CreativeInventoryAction packets due to shift-clicking the "Destroy Item" button in creative mode, the client won't actually remove the items from the inventory until the server tells it to.

This PR conflicts with https://github.com/MCHPR/MCHPRS/pull/43. If you're gonna merge that PR, it's probably a good idea to do that PR first, then I'll rebase and update this PR to work with the new clientbound packets system

StackDoubleFlow commented 2 years ago

Implemented in a38e46c64bd1a7d860c1ffd77c8aa1d3d59b03ef