Fixed small mistake that broke inventory stuff