Fixed inventory glitch