Check for crafting result to not be nil

We don't want to look for a result that doesn't exist.
Merge pull request #2198 from niamu/crafting_tooltip

Check for crafting result to not be nil