Here is whats on line 822

player.inventory.crafting.CancelAll(true);

HERE IS WHAT IT NEEDS TO BE 

player.inventory.crafting.CancelAll();