Add additional check for autosmelt to prevent null-Itemstacks.
Merge pull request #894 from bonii-xx/new_pr3

Add additional check for autosmelt to prevent null-Itemstacks.