Fixed Itemstack/inventory lost error