changed inventorysave to itemstacks format