Open dktapps opened 3 years ago
It looks like this is because of the old spam bug. Two transactions arrive: one that is handled by the plugin and updating the held itemslot, and then the second one sets it right back again by doing this: https://github.com/pmmp/PocketMine-MP/blob/f0661999717abc3ed5cefceb4c47b732915761f3/src/network/mcpe/handler/InGamePacketHandler.php#L359
Issue description
As per title. If the server changes the selected hotbar slot, other players will see it, but the player itself will still see themselves holding the original item.
Steps to reproduce the issue
OS and versions
Plugins
https://github.com/dktapps-pm-pl/BlockPickStick