Inventory updated on digging and collecting but not on placing #320
Open
Description
If you dig a block and collect the pink block that appears, your inventory increases by one.
But if you place that block, your inventory remains the same on the client even though it decreases on the server.
For example, if you dig and collect three dirt, and then you place all your dirt, say, then the client still thinks you have three, but the server knows the true state of the world, and won't place more.
If you then dig one dirt, the client inventory is changed to 1.