Fixed quantity bug in crafting