Fix for crash when running with buggy mods.

When running EE3 with a mod that hasn't done its items/blocks properly (such as creating recipes with blocks that haven't been registered with the GameRegistry) the method as it was would crash the game.

Since there's a lot of poorly coded mods out there, a quick and harmless fix would help.