Added null check to HandleItemHeat