How do you fix inventor glitch Minecraft?

There is no inventory glitch as of 1.7