Update from upstream SpigotMC
Abridged: Force close player inventories when they move/interact
This prevents modified clients from using the 2x2 crafting square as permanent storage

Force Close Inventory On Move SpigotMC/Spigot@db78a70788faa2004b20158387623c866d622c4f
Only close once, if needed SpigotMC/Spigot@b652de8e7f8144eb6e474d2d4de42e30eef33ead
Move to interact event closing SpigotMC/Spigot@b5378850d30068b53d2870b8ef19fd7f57ffd8bc
Disregard arm swings - racy SpigotMC/Spigot@f86634e28073383bbaf617765ed7d3e9628b7e1e