Problem with inventory when using velocity

screenshot: https://cdn.discordapp.com/attachments/941809137635975178/947141208294195230/asda4v34.png https://cdn.discordapp.com/attachments/941809137635975178/947142388869107802/unknown.png

version: 3.1.1

After quitting any menu on the server all items from the menu remain in the inventory how to fix it please help.

I found a problem with this protocolize-velocity.jar plugin I uninstalled it and everything worked.