I was looking at the PlayerInteractEvent, and I noticed that "useBlock" and "useItem" are used in ItemInWorldManager (the server part) but not in PlayerControllerMP (the client part). Instead, it only checks if the event is canceled or not.
I was wondering if there is a reason for that or if it's a bug. Currently, setting useBlock to false will not stop the client from right-clicking a block. For instance the client can open a GUI but since the GuiContainer is not created on the server, the GUI is not functional. Same thing for doors, you can open them but not go through them since they are closed on the server.
This strange behaviors make me think that it's actually a bug, or maybe I just don't get how they should be used.
So I just wanted to know if it's intended or if a fix has to be made.