pretty self explanatory, if you are wearing a hat which is a sellable item in the shop, it will be sold when you do /sell all. This makes it difficult to sell from farms if you are wearing a hat. Not too big of a deal but under the right circumstances someone could accidentally sell a diamond block.